mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
Update sysxc.js
This commit is contained in:
14
sysxc.js
14
sysxc.js
@@ -58,6 +58,10 @@ class UserInfo {
|
|||||||
//this.data1 = ck[0]
|
//this.data1 = ck[0]
|
||||||
this.ckStatus = true
|
this.ckStatus = true
|
||||||
this.timestamp = ts13()
|
this.timestamp = ts13()
|
||||||
|
this.signInStatus = ''//签到状态
|
||||||
|
this.getVcodeStatus = ''//HK 获取状态
|
||||||
|
this.checkVcodeStatus = ''//HK 验证状态
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async getVcode() {
|
async getVcode() {
|
||||||
@@ -121,7 +125,7 @@ class UserInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log(`获取滑块失败了呢`);
|
DoubleLog(`账号[${this.index}]获取失败了呢`);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
@@ -158,7 +162,7 @@ class UserInfo {
|
|||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.resultCode == '0000') {
|
if (result.resultCode == '0000') {
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
console.log('验证成功');
|
DoubleLog(`账号[${this.index}]验证成功`);
|
||||||
|
|
||||||
let SignInParams = VcodeToken + '---' + aesStrStar
|
let SignInParams = VcodeToken + '---' + aesStrStar
|
||||||
SignInParams = SignInParams.replace(/\ +/g, "");
|
SignInParams = SignInParams.replace(/\ +/g, "");
|
||||||
@@ -178,12 +182,12 @@ class UserInfo {
|
|||||||
return '0'
|
return '0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(`签到结束`);
|
DoubleLog(`账号[${this.index}]签到结束`);
|
||||||
//console.log(aesDecrypt(key, aesEncrypt(VcodeKey, SignInParams)));
|
//console.log(aesDecrypt(key, aesEncrypt(VcodeKey, SignInParams)));
|
||||||
return '0'
|
return '0'
|
||||||
} else {
|
} else {
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
console.log('验证失败');
|
DoubleLog(`账号[${this.index}]验证失败`);
|
||||||
return '1'
|
return '1'
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -220,7 +224,7 @@ class UserInfo {
|
|||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.resultCode == '0') {
|
if (result.resultCode == '0') {
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
console.log(`成功啦`);
|
DoubleLog(`账号[${this.index}]签到成功啦`);
|
||||||
return '0'
|
return '0'
|
||||||
} else {
|
} else {
|
||||||
await $.wait(2000)
|
await $.wait(2000)
|
||||||
|
|||||||
Reference in New Issue
Block a user