This commit is contained in:
duanxiaohai 2024-10-08 15:57:12 +08:00
parent eb09cba87e
commit 02b218d1a9
2 changed files with 6 additions and 5 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -192,12 +192,13 @@ const login = () => {
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
} }
// //
const encryptedText = routers.query.token; if (routers.query.token) {
const decodedText = decrypt(encryptedText, ENCODED_KEY); const encryptedText = routers.query.token;
// console.log("Decrypted Text:", decodedText); const decodedText = decrypt(encryptedText, ENCODED_KEY);
var tokenU = decodedText; console.log("Decrypted Text:", decodedText);
var tokenU = decodedText;
}
// var tokenU = CryptoJS.enc.Utf8.parse(routers.query.token); // var tokenU = CryptoJS.enc.Utf8.parse(routers.query.token);
// var token = getCookie("lytoken"); // var token = getCookie("lytoken");
// tokenU = "6b0e380b4a8f46baae4923f83faf670d"; // tokenU = "6b0e380b4a8f46baae4923f83faf670d";