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.ckStatus = true
|
||||
this.timestamp = ts13()
|
||||
this.signInStatus = ''//签到状态
|
||||
this.getVcodeStatus = ''//HK 获取状态
|
||||
this.checkVcodeStatus = ''//HK 验证状态
|
||||
|
||||
}
|
||||
|
||||
async getVcode() {
|
||||
@@ -121,7 +125,7 @@ class UserInfo {
|
||||
}
|
||||
|
||||
} else {
|
||||
console.log(`获取滑块失败了呢`);
|
||||
DoubleLog(`账号[${this.index}]获取失败了呢`);
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
@@ -158,7 +162,7 @@ class UserInfo {
|
||||
//console.log(result);
|
||||
if (result.resultCode == '0000') {
|
||||
//console.log(result);
|
||||
console.log('验证成功');
|
||||
DoubleLog(`账号[${this.index}]验证成功`);
|
||||
|
||||
let SignInParams = VcodeToken + '---' + aesStrStar
|
||||
SignInParams = SignInParams.replace(/\ +/g, "");
|
||||
@@ -178,12 +182,12 @@ class UserInfo {
|
||||
return '0'
|
||||
}
|
||||
}
|
||||
console.log(`签到结束`);
|
||||
DoubleLog(`账号[${this.index}]签到结束`);
|
||||
//console.log(aesDecrypt(key, aesEncrypt(VcodeKey, SignInParams)));
|
||||
return '0'
|
||||
} else {
|
||||
//console.log(result);
|
||||
console.log('验证失败');
|
||||
DoubleLog(`账号[${this.index}]验证失败`);
|
||||
return '1'
|
||||
}
|
||||
} catch (e) {
|
||||
@@ -220,7 +224,7 @@ class UserInfo {
|
||||
//console.log(result);
|
||||
if (result.resultCode == '0') {
|
||||
//console.log(result);
|
||||
console.log(`成功啦`);
|
||||
DoubleLog(`账号[${this.index}]签到成功啦`);
|
||||
return '0'
|
||||
} else {
|
||||
await $.wait(2000)
|
||||
|
||||
Reference in New Issue
Block a user