补充内容 (2023-2-14 12:44):
var n = {
userName: e
};
Object(o.w)(n).then(function(n) {
var i = n.data;
if (i.success) {
var o = i.data
, s = o.userType
, a = o.codeId;
if ("0" != s) {
var c = o.publicKey
, u = new h.JSEncrypt;
u.setPublicKey(c),
t.encryptPswd = u.encrypt(r)
} else {
var f = o.salt
, p = o.vCode;
t.encryptPswd = l.SHA256(l.SHA256(r + f).toString() + p).toString()
}
var d = {
userName: e,
password: t.encryptPswd,
serviceUrl: window.location.href,
imageCode: t.imageCode,
codeId: a,
userType: s
};
settings.language && (d.lang = settings.language),
t.isGbLogin && (d.gbSerial = t.gbSerial),
t.submit(d)
} else
var n = { userName: e }; Object(o.w)(n).then(function(n) { var i = n.data; if (i.success) { var o = i.data , s = o.userType , a = o.codeId; if ("0" != s) { var c = o.publicKey , u = new h.JSEncrypt; u.setPublicKey(c), t.encryptPswd = u.encrypt(r) } else { var f = o.salt , p = o.vCode; t.encryptPswd = l.SHA256(l.SHA256(r + f).toString() + p).toString() } var d = { userName: e, password: t.encryptPswd, serviceUrl: window.location.href, imageCode: t.imageCode, codeId: a, userType: s }; settings.language && (d.lang = settings.language), t.isGbLogin && (d.gbSerial = t.gbSerial), t.submit(d) } else