|
@@ -165,7 +165,7 @@
|
165
|
165
|
return tmpAES.toString();
|
166
|
166
|
},
|
167
|
167
|
//aes加密-登录
|
168
|
|
- encryptByEnAES(data) {
|
|
168
|
+ encryptByEnAESLogin(data) {
|
169
|
169
|
data = enc.Utf8.parse(data);
|
170
|
170
|
let Key = enc.Utf8.parse('Aes2Util666AQWER');
|
171
|
171
|
let tmpAES = AES.encrypt(data, Key, {
|
|
@@ -698,7 +698,7 @@
|
698
|
698
|
type: 'APP'
|
699
|
699
|
};
|
700
|
700
|
data = {
|
701
|
|
- k: this.encryptByEnAES(JSON.stringify(data))
|
|
701
|
+ k: this.encryptByEnAESLogin(JSON.stringify(data))
|
702
|
702
|
};
|
703
|
703
|
post("/auth/login", data).then((res) => {
|
704
|
704
|
uni.hideLoading();
|