|
|
@@ -9,17 +9,18 @@ import { encrypt ,decrypt} from "@/utils/jsencrypt";
|
|
|
uni.getStorageSync("data2" )
|
|
|
|
|
|
// 原始数据
|
|
|
-// const data=JSON.parse(localStorage.getItem("data"))
|
|
|
const data=JSON.parse(uni.getStorageSync("data" ))
|
|
|
console.log(data)
|
|
|
|
|
|
// 加密数据
|
|
|
const encryptedData = encrypt(JSON.stringify(data));
|
|
|
|
|
|
-// 构造URL
|
|
|
-const url = `https://manager.usky.cn/mobile/#/pages/login?xcx=${encodeURIComponent(encryptedData)}`;
|
|
|
-
|
|
|
+const dataToken=uni.getStorageSync("App-Token" )
|
|
|
|
|
|
+// 构造URL
|
|
|
+const url = `https://manager.usky.cn/mobile/#/pages/login?dataToken=${dataToken}&xcx=${encodeURIComponent(encryptedData)}`;
|
|
|
+console.log(url)
|
|
|
+// uni.hideHomeButton()
|
|
|
|
|
|
|
|
|
onShow(() => {
|