system-clients 3.2.76-rongchuang → 3.2.76-rongchuang-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -5,6 +5,7 @@ import cryptJS from './EncryptUtil'
|
|
5
5
|
let loginGen = async function (name, password, cue) {
|
6
6
|
let data = {name: name, password: password}
|
7
7
|
data = '$' + cryptJS.RSAEncrypt(JSON.stringify(data))
|
8
|
+
data = cryptJS.AESEncrypt(data, "3KMKqvgwR8ULbR8Z")
|
8
9
|
const getLogin = await Vue.resetpost('/rs/logic/getLogin', data, {resolveMsg: null, rejectMsg: null})
|
9
10
|
if (getLogin.data.states === '登录成功') {
|
10
11
|
//获取jwt
|
@@ -239,7 +240,7 @@ let GetLoginInfoService = {
|
|
239
240
|
if (cue === undefined || cue === null || cue === '') {
|
240
241
|
cue = true
|
241
242
|
}
|
242
|
-
Vue.$login.SinglePageToken = cryptJS.AESEncrypt(JSON.stringify({name,password}), "
|
243
|
+
Vue.$login.SinglePageToken = cryptJS.AESEncrypt(JSON.stringify({name,password}), "3KMKqvgwR8ULbR8Z")
|
243
244
|
return loginGen(name, password, cue)
|
244
245
|
},
|
245
246
|
|