|
|
@ -9,6 +9,13 @@ ksjsbAggressive 最大化提现 |
|
|
|
*/ |
|
|
|
|
|
|
|
const $ = new Env('快手极速版低保'); |
|
|
|
|
|
|
|
const notify = $.isNode() ? require('./sendNotify') : ''; |
|
|
|
|
|
|
|
let notifyStr='' |
|
|
|
let notifyFlag=1 |
|
|
|
let otherts=false |
|
|
|
|
|
|
|
let res, |
|
|
|
ksjsbCookie = process.env.ksjsbCookie || '', |
|
|
|
Users = [], |
|
|
@ -39,6 +46,7 @@ class ksUser { |
|
|
|
this.bindWechat = false; |
|
|
|
this.wechat = ''; |
|
|
|
this.needSms = false; |
|
|
|
this.hasLuckydraw = true; |
|
|
|
} |
|
|
|
//获取用户信息
|
|
|
|
async getUserInfo() { |
|
|
@ -122,8 +130,7 @@ class ksUser { |
|
|
|
await $.wait(200); |
|
|
|
await this.TaskSignIn(); |
|
|
|
await $.wait(200); |
|
|
|
await this.setShare(); |
|
|
|
|
|
|
|
await this.setShare(); |
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log(`🎉${this.name}=>|查询签到信息失败:${res.error_msg}`); |
|
|
@ -145,7 +152,7 @@ class ksUser { |
|
|
|
for (let list of rewardlist){ |
|
|
|
if (list.bottomText=='今天')console.log(`🎉${this.name}=>|今日已领取:${parseFloat(list.amount/100)}元`) |
|
|
|
} |
|
|
|
console.log(res.data.instructionText) |
|
|
|
console.log(`🎉${this.name}=>|${res.data.instructionText}`) |
|
|
|
} else { |
|
|
|
console.log(`🎉${this.name}=>|新手任务:${res.error_msg}`) |
|
|
|
} |
|
|
@ -169,7 +176,6 @@ class ksUser { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async withdraw(_0x543a47) { |
|
|
|
if (!this.bindAlipay && !this.bindWechat) { |
|
|
|
console.log('账号[' + this.name + ']未绑定提现账号,不执行提现'); |
|
|
@ -181,89 +187,62 @@ class ksUser { |
|
|
|
_0x551907 = this.bindAlipay ? 'ALIPAY' : 'WECHAT', |
|
|
|
_0x4281dd = _0x551907 == 'ALIPAY' ? '支付宝' : '微信', |
|
|
|
_0x45b85a = _0x551907 == 'ALIPAY' ? this.alipay : this.wechat, |
|
|
|
_0x5540cb = 'https://www.kuaishoupay.com/pay/account/h5/withdraw/apply', |
|
|
|
_0x36e14a = |
|
|
|
'account_group_key=NEBULA_CASH_ACCOUNT&mobile_code=&fen=' + |
|
|
|
_0x11aa57 + |
|
|
|
'&provider=' + |
|
|
|
_0x551907 + |
|
|
|
'&total_fen=' + |
|
|
|
_0x11aa57 + |
|
|
|
'&commission_fen=0&third_account=' + |
|
|
|
_0x551907 + |
|
|
|
'&attach=&biz_content=&session_id=', |
|
|
|
_0x5540cb = 'https://nebula.kuaishou.com/rest/n/nebula/outside/withdraw/apply', |
|
|
|
_0x36e14a = `{"channel":"${_0x551907}","amount":${_0x543a47}}`, |
|
|
|
_0x2afd84 = getOptions(_0x5540cb, this.cookie, _0x36e14a); |
|
|
|
|
|
|
|
_0x2afd84.headers['Content-Type']='application/json;charset=UTF-8' |
|
|
|
//console.log(_0x2afd84)
|
|
|
|
await doRequest('post', _0x2afd84); |
|
|
|
|
|
|
|
let _0x550f3b = res; |
|
|
|
let result = res; |
|
|
|
console.log(result) |
|
|
|
|
|
|
|
if (!_0x550f3b) { |
|
|
|
if (!result) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
_0x550f3b.result == 'SUCCESS' |
|
|
|
? console.log( |
|
|
|
'账号' + |
|
|
|
this.index + |
|
|
|
'[' + |
|
|
|
this.name + |
|
|
|
']提现' + |
|
|
|
_0x543a47 + |
|
|
|
'元到' + |
|
|
|
_0x4281dd + |
|
|
|
'[' + |
|
|
|
_0x45b85a + |
|
|
|
']成功' |
|
|
|
) |
|
|
|
: console.log( |
|
|
|
'账号' + |
|
|
|
this.index + |
|
|
|
'[' + |
|
|
|
this.name + |
|
|
|
']提现' + |
|
|
|
_0x543a47 + |
|
|
|
'元到' + |
|
|
|
_0x4281dd + |
|
|
|
'[' + |
|
|
|
_0x45b85a + |
|
|
|
']失败:' + |
|
|
|
_0x550f3b.msg |
|
|
|
); |
|
|
|
otherts=true |
|
|
|
if (result.result == 1) { |
|
|
|
console.log('🎉' + this.name + '=>|提现' + _0x543a47 +'元到' + _0x4281dd +'[' + _0x45b85a +']成功') |
|
|
|
notifyStr +='🎉' + this.name + '=>|提现' + _0x543a47 +'元到' + _0x4281dd +'[' + _0x45b85a +']成功\n' |
|
|
|
} |
|
|
|
else { |
|
|
|
notifyStr +='🎉' + this.name + '=>|提现' + _0x543a47 +'元到' + _0x4281dd +'[' + _0x45b85a +']失败:' + result.msg+'\n' |
|
|
|
console.log('🎉' + this.name + '=>|提现' + _0x543a47 +'元到' + _0x4281dd +'[' + _0x45b85a +']失败:' + result.msg ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
async withdrawOverview() { |
|
|
|
let _0x2236be = |
|
|
|
'https://nebula.kuaishou.com/rest/n/nebula/outside/withdraw/overview?appver=10.2.20.2021', |
|
|
|
'https://nebula.kuaishou.com/rest/n/nebula/outside/withdraw/overview?appver=9.9.10.1646', |
|
|
|
_0x564ca9 = '', |
|
|
|
_0x418fbc = getOptions(_0x2236be, this.cookie, _0x564ca9); |
|
|
|
|
|
|
|
await doRequest('get', _0x418fbc); |
|
|
|
|
|
|
|
let _0x2edb23 = res; |
|
|
|
let result = res; |
|
|
|
|
|
|
|
if (!_0x2edb23) { |
|
|
|
if (!result) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (_0x2edb23.result == 1) { |
|
|
|
if (_0x2edb23.data.isLimit == true) { |
|
|
|
console.log('账号[' + this.name + ']今天已提现'); |
|
|
|
if (result.result == 1) { |
|
|
|
if (result.data.isLimit == true) { |
|
|
|
console.log('🎉' + this.name + '=>|今天已提现'); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
let _0x57539e = parseFloat(this.cashBalance); |
|
|
|
|
|
|
|
|
|
|
|
if (ksjsbAggressive == 1) { |
|
|
|
if (_0x57539e < 0.3) { |
|
|
|
console.log('账号[' + this.name + ']余额不足0.3元,不提现'); |
|
|
|
console.log('🎉' + this.name + '=>|余额不足0.3元,不提现'); |
|
|
|
} else { |
|
|
|
let _0xc81e7b = Math.floor(_0x57539e * 10) / 10; |
|
|
|
|
|
|
|
_0xc81e7b = _0xc81e7b > 50 ? 50 : _0xc81e7b; |
|
|
|
|
|
|
|
console.log( |
|
|
|
'账号[' + this.name + ']准备最大化提现' + _0xc81e7b + '元' |
|
|
|
'🎉' + this.name + '=>|准备最大化提现' + _0xc81e7b + '元' |
|
|
|
); |
|
|
|
|
|
|
|
await $.wait(200); |
|
|
@ -271,42 +250,45 @@ class ksUser { |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (!ksjsbCash) { |
|
|
|
for (let _0x5da979 of _0x2edb23.data.enWithdrawList.sort(function ( |
|
|
|
let lists=result.data.newWithdrawList |
|
|
|
let enList=[] |
|
|
|
for (let i=0;i<lists.length;i++) |
|
|
|
enList.push(lists[i].amount) |
|
|
|
//console.log(enList)
|
|
|
|
for (let withdrawlist of enList.sort(function ( |
|
|
|
_0x5357e2, |
|
|
|
_0xc5d50f |
|
|
|
) { |
|
|
|
return _0xc5d50f - _0x5357e2; |
|
|
|
})) { |
|
|
|
if (_0x57539e >= parseFloat(_0x5da979)) { |
|
|
|
console.log('账号[' + this.name + ']准备提现' + _0x5da979 + '元'); |
|
|
|
if (_0x57539e >= parseFloat(withdrawlist)) { |
|
|
|
console.log('🎉' + this.name + '=>|准备提现' + withdrawlist + '元'); |
|
|
|
|
|
|
|
await $.wait(200); |
|
|
|
await this.withdraw(_0x5da979); |
|
|
|
await this.withdraw(withdrawlist); |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log( |
|
|
|
'账号[' + |
|
|
|
this.name + |
|
|
|
']余额不足,可提现额度:' + |
|
|
|
_0x2edb23.data.enWithdrawList.join(',') |
|
|
|
'🎉' + this.name + '=>|余额不足,可提现额度:' + |
|
|
|
enList.join(',') |
|
|
|
); |
|
|
|
} else { |
|
|
|
_0x57539e >= parseFloat(ksjsbCash) |
|
|
|
? (console.log( |
|
|
|
'账号[' + this.name + ']准备提现' + ksjsbCash + '元' |
|
|
|
'🎉' + this.name + '=>|准备提现' + ksjsbCash + '元' |
|
|
|
), |
|
|
|
await $.wait(200), |
|
|
|
await this.withdraw(ksjsbCash)) |
|
|
|
: console.log( |
|
|
|
'账号[' + this.name + ']余额不足' + ksjsbCash + '元,不提现' |
|
|
|
'🎉' + this.name + '=>|余额不足' + ksjsbCash + '元,不提现' |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log( |
|
|
|
'账号[' + this.name + ']查询提现列表失败:' + _0x2edb23.error_msg |
|
|
|
'🎉' + this.name + '=>|查询提现列表失败:' + result.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
@ -332,17 +314,8 @@ class ksUser { |
|
|
|
|
|
|
|
let _0x54aac5 = _0xa69994.data.exchangeCoinState; |
|
|
|
|
|
|
|
console.log( |
|
|
|
'🎉' + |
|
|
|
this.name + |
|
|
|
'=>|账户余额' + |
|
|
|
this.cashBalance + |
|
|
|
'元,' + |
|
|
|
this.coinBalance + |
|
|
|
'金币, 共领取' + |
|
|
|
this.totalAmount + |
|
|
|
'元' |
|
|
|
); |
|
|
|
console.log('🎉' + this.name +'=>|账户余额' + this.cashBalance + '元,' + this.coinBalance + '金币, 共领取' + this.totalAmount +'元' ); |
|
|
|
notifyStr += '🎉'+ this.name +'余额' + this.cashBalance + '元 ' + this.coinBalance + '金币 共' + this.totalAmount +'元\n' |
|
|
|
|
|
|
|
_0x54aac5 == 2 && (await $.wait(200), await this.changeExchangeType(0)); |
|
|
|
} else { |
|
|
@ -352,7 +325,7 @@ class ksUser { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//开箱子,1金币懒得搞
|
|
|
|
//开箱子
|
|
|
|
async openBox(_0x412555) { |
|
|
|
let _0x513362 = |
|
|
|
'https://nebula.kuaishou.com/rest/n/nebula/box/explore?isOpen=' + |
|
|
@ -399,13 +372,6 @@ class ksUser { |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//兑换
|
|
|
|
async changeExchangeType(_0x1bd22f) { |
|
|
|
let _0x4e7ea7 = |
|
|
@ -435,10 +401,6 @@ class ksUser { |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//金币兑换奖券
|
|
|
|
async exchangeCoin() { |
|
|
|
if (this.coinBalance < 100) { |
|
|
@ -481,7 +443,231 @@ class ksUser { |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
async luckdrawInfo() { |
|
|
|
let _0x2fda4d = 'https://activity.e.kuaishou.com/rest/r/game/user/info', |
|
|
|
_0x59d2d4 = '', |
|
|
|
_0x50c63f = getOptions(_0x2fda4d, this.cookie, _0x59d2d4); |
|
|
|
|
|
|
|
await doRequest('get', _0x50c63f); |
|
|
|
|
|
|
|
let _0x1d97ad = res; |
|
|
|
|
|
|
|
if (!_0x1d97ad) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (_0x1d97ad.result == 1) { |
|
|
|
console.log( |
|
|
|
'🎉' + this.name + '=>|现有' + |
|
|
|
_0x1d97ad.data.userDiamondResult.diamondPercent + |
|
|
|
'钻石,剩余抽奖次数:' + |
|
|
|
_0x1d97ad.data.userDailyLotteryTimesResult.remainTimes |
|
|
|
); |
|
|
|
|
|
|
|
for ( |
|
|
|
let _0x5387e7 = 0; |
|
|
|
_0x5387e7 < _0x1d97ad.data.userDailyLotteryTimesResult.remainTimes; |
|
|
|
_0x5387e7++ |
|
|
|
) { |
|
|
|
await $.wait(200); |
|
|
|
await this.luckydraw(); |
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log( |
|
|
|
'🎉' + this.name + '=>|查询抽奖次数失败:' + _0x1d97ad.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
async luckydraw() { |
|
|
|
let _0x5aeb3b = |
|
|
|
'https://activity.e.kuaishou.com/rest/r/game/lottery?wheelVersion=1', |
|
|
|
_0x16fa83 = '', |
|
|
|
_0x5b3172 = getOptions(_0x5aeb3b, this.cookie, _0x16fa83); |
|
|
|
|
|
|
|
await doRequest('post', _0x5b3172); |
|
|
|
|
|
|
|
let _0x5099f1 = res; |
|
|
|
|
|
|
|
if (!_0x5099f1) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (_0x5099f1.result == 1) { |
|
|
|
let _0x355997 = _0x5099f1.data.coinCount |
|
|
|
? _0x5099f1.data.coinCount + '金币' |
|
|
|
: _0x5099f1.data.diamondCount |
|
|
|
? _0x5099f1.data.diamondCount + '钻石' |
|
|
|
: '空气'; |
|
|
|
|
|
|
|
console.log('🎉' + this.name + '=>|抽奖获得' + _0x355997); |
|
|
|
|
|
|
|
if (_0x5099f1.data.videoCoinCount) { |
|
|
|
console.log('额外奖励:' + _0x5099f1.data.videoCoinCount); |
|
|
|
} |
|
|
|
|
|
|
|
if (_0x5099f1.data.schema) { |
|
|
|
try { |
|
|
|
console.log(Base64.decode(_0x5099f1.data.schema)); |
|
|
|
} catch (_0x2cd9ad) { |
|
|
|
console.log(_0x5099f1.data.schema); |
|
|
|
} finally { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (this.hasLuckydraw) { |
|
|
|
await this.luckdrawTasks(); |
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log('🎉' + this.name + '=>|抽奖失败:' + _0x5099f1.error_msg); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
async luckydrawSign() { |
|
|
|
let _0x19e391 = 'https://activity.e.kuaishou.com/rest/r/game/sign-in', |
|
|
|
_0x364621 = '', |
|
|
|
_0x17553a = getOptions(_0x19e391, this.cookie, _0x364621); |
|
|
|
|
|
|
|
await doRequest('get', _0x17553a); |
|
|
|
|
|
|
|
let _0x3dc187 = res; |
|
|
|
|
|
|
|
if (!_0x3dc187) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
_0x3dc187.result == 1 |
|
|
|
? _0x3dc187.data.isShow && |
|
|
|
console.log('🎉' + this.name + '=>|抽奖页签到成功') |
|
|
|
: (console.log( |
|
|
|
'🎉' + this.name + '=>|查询抽奖签到情况失败:' + _0x3dc187.error_msg |
|
|
|
), |
|
|
|
_0x3dc187.error_msg.indexOf('激励游戏未在运营') > -1 && |
|
|
|
(this.hasLuckydraw = false)); |
|
|
|
} |
|
|
|
|
|
|
|
async luckdrawTimerInfo() { |
|
|
|
let _0x41f4dd = |
|
|
|
'https://activity.e.kuaishou.com/rest/r/game/timer-reward/info', |
|
|
|
_0x57d99c = '', |
|
|
|
_0x188ea7 = getOptions(_0x41f4dd, this.cookie, _0x57d99c); |
|
|
|
|
|
|
|
await doRequest('get', _0x188ea7); |
|
|
|
|
|
|
|
let _0x9de9b6 = res; |
|
|
|
|
|
|
|
if (!_0x9de9b6) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (_0x9de9b6.result == 1) { |
|
|
|
if (_0x9de9b6.data) { |
|
|
|
let _0x53217e = new Date().getTime(), |
|
|
|
_0x2d8627 = _0x9de9b6.data.lastTimerTime, |
|
|
|
_0x42feaa = _0x9de9b6.data.minutesInterval * 60 * 1000, |
|
|
|
_0x25bdde = _0x2d8627 + _0x42feaa; |
|
|
|
|
|
|
|
_0x53217e < _0x25bdde |
|
|
|
? console.log( |
|
|
|
'🎉' + this.name + '=>|抽奖页奖励冷却时间还有' + |
|
|
|
(_0x25bdde - _0x53217e) / 1000 + |
|
|
|
'秒' |
|
|
|
) |
|
|
|
: (await $.wait(200), |
|
|
|
await this.luckdrawTimerReward(_0x9de9b6.data.goldNum)); |
|
|
|
} else { |
|
|
|
console.log('🎉' + this.name + '=>|抽奖页定时奖励次数已用完'); |
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log( |
|
|
|
'🎉' + this.name + '=>|查询抽奖页定时奖励情况失败:' + |
|
|
|
_0x9de9b6.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
async luckdrawTimerReward(_0x571114) { |
|
|
|
let _0xeaee4 = 'https://activity.e.kuaishou.com/rest/r/game/timer-reward', |
|
|
|
_0x4f1a45 = '', |
|
|
|
_0x44f25f = getOptions(_0xeaee4, this.cookie, _0x4f1a45); |
|
|
|
|
|
|
|
await doRequest('post', _0x44f25f); |
|
|
|
|
|
|
|
let _0x3a934e = res; |
|
|
|
|
|
|
|
if (!_0x3a934e) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
_0x3a934e.result == 1 |
|
|
|
? console.log( |
|
|
|
'🎉' + this.name + '=>|领取抽奖页定时奖励获得' + _0x571114 + '金币' |
|
|
|
) |
|
|
|
: console.log( |
|
|
|
'🎉' + this.name + '=>|领取抽奖页定时奖励失败:' + |
|
|
|
_0x3a934e.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
async luckdrawTasks() { |
|
|
|
let _0x464ad5 = 'https://activity.e.kuaishou.com/rest/r/game/tasks', |
|
|
|
_0x2bfcad = '', |
|
|
|
_0x15101f = getOptions(_0x464ad5, this.cookie, _0x2bfcad); |
|
|
|
|
|
|
|
await doRequest('get', _0x15101f); |
|
|
|
await $.wait(3000); |
|
|
|
let _0x4e8b19 = res; |
|
|
|
|
|
|
|
if (!_0x4e8b19) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (_0x4e8b19.result == 1) { |
|
|
|
for (let _0x2e65d8 of _0x4e8b19.data.dailyTasks) { |
|
|
|
// _0x2e65d8.taskState == 1 &&
|
|
|
|
// (await $.wait(200), await this.luckdrawTasksReward(_0x2e65d8));
|
|
|
|
} |
|
|
|
|
|
|
|
for (let _0x4e5c51 of _0x4e8b19.data.growthTasks) { |
|
|
|
// _0x4e5c51.taskState == 1 &&
|
|
|
|
// (await $.wait(200), await this.luckdrawTasksReward(_0x4e5c51));
|
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log( |
|
|
|
'🎉' + this.name + '=>|查询抽奖页任务失败:' + _0x4e8b19.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
async luckdrawTasksReward(_0x548292) { |
|
|
|
let _0x452703 = |
|
|
|
'https://activity.e.kuaishou.com/rest/r/game/task/reward-receive?taskName=' + |
|
|
|
_0x548292.taskName, |
|
|
|
_0x4038c0 = '', |
|
|
|
_0x2242b2 = getOptions(_0x452703, this.cookie, _0x4038c0); |
|
|
|
|
|
|
|
await doRequest('get', _0x2242b2); |
|
|
|
|
|
|
|
let _0x3417ed = res; |
|
|
|
|
|
|
|
if (!_0x3417ed) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
_0x3417ed.result == 1 |
|
|
|
? console.log( |
|
|
|
'🎉' + this.name + '=>|领取抽奖任务[' + |
|
|
|
_0x548292.taskTitle + |
|
|
|
']奖励获得' + |
|
|
|
_0x3417ed.data.popUp.taskRewardName |
|
|
|
) |
|
|
|
: console.log( |
|
|
|
'🎉' + this.name + '=>|领取抽奖任务[' + |
|
|
|
_0x548292.taskTitle + |
|
|
|
']奖励失败:' + |
|
|
|
_0x3417ed.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
//获取用户ID
|
|
|
|
async getUserid() { |
|
|
@ -530,18 +716,14 @@ class ksUser { |
|
|
|
((this.bindWechat = true), |
|
|
|
(this.wechat = _0x4d5493.wechat_nick_name), |
|
|
|
(_0x3840b8 = '已绑定微信[' + _0x4d5493.wechat_nick_name + ']')); |
|
|
|
console.log('账号[' + this.name + ']' + _0x3840b8 + ',' + _0x4015b0); |
|
|
|
console.log('🎉' + this.name + '=>|' + _0x3840b8 + ',' + _0x4015b0); |
|
|
|
} else { |
|
|
|
console.log( |
|
|
|
'账号[' + |
|
|
|
this.name + |
|
|
|
']查询提现账号绑定情况失败:' + |
|
|
|
'🎉' + this.name + '=>|查询提现账号绑定情况失败:' + |
|
|
|
_0x4d5493.error_msg |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//账号详情
|
|
|
|
async accountInfo() { |
|
|
@ -583,19 +765,30 @@ class ksUser { |
|
|
|
if (CurrentUser.length == 0) { |
|
|
|
return; |
|
|
|
} |
|
|
|
let curHours = new Date().getHours(); |
|
|
|
|
|
|
|
for (let u of CurrentUser) { |
|
|
|
console.log('\n=========== 🎉' + u.name + ' 🎉==========='); |
|
|
|
await u.getSignInfo(); |
|
|
|
await $.wait(200); |
|
|
|
//await u.TaskSignIn();
|
|
|
|
if (curHours<9) await u.TaskSignIn(),await u.setShare(); |
|
|
|
await $.wait(200); |
|
|
|
await u.openBox(false); |
|
|
|
await $.wait(200); |
|
|
|
await u.luckydrawSign(); |
|
|
|
await $.wait(200); |
|
|
|
if (u.hasLuckydraw == true) { |
|
|
|
await u.luckdrawTimerInfo(); |
|
|
|
await $.wait(200); |
|
|
|
await u.luckdrawTasks(); |
|
|
|
await $.wait(200); |
|
|
|
await u.luckdrawInfo(); |
|
|
|
await $.wait(200); |
|
|
|
} |
|
|
|
} |
|
|
|
console.log('\n============== 🎉账户情况🎉 =============='); |
|
|
|
let curHours = new Date().getHours(); |
|
|
|
let tips = '按提现列表自动提现'; |
|
|
|
if (ksjsbAggressive) { |
|
|
|
if (ksjsbAggressive>0) { |
|
|
|
tips = '最大化提现'; |
|
|
|
} |
|
|
|
if (curHours == ksWithdrawTime) { |
|
|
@ -614,10 +807,27 @@ class ksUser { |
|
|
|
await u.withdrawOverview() |
|
|
|
} |
|
|
|
} |
|
|
|
await showmsg() |
|
|
|
|
|
|
|
})() |
|
|
|
.catch((error) => $.logErr(error)) |
|
|
|
.finally(() => $.done()); |
|
|
|
|
|
|
|
|
|
|
|
//通知
|
|
|
|
async function showmsg() { |
|
|
|
|
|
|
|
let notifyBody = "\n///////////////////////\n快手极速版运行通知\n" + notifyStr |
|
|
|
//console.log(notifyBody);
|
|
|
|
let hour = new Date().getHours(); |
|
|
|
if (notifyFlag==1) { |
|
|
|
if (hour==12 || hour==18 || otherts ) { |
|
|
|
if ($.isNode()) await notify.sendNotify($.name, notifyBody ) |
|
|
|
otherts=false |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
async function formatCookie() { |
|
|
|
if (ksjsbCookie) { |
|
|
|
for (let ck of ksjsbCookie.split('\n')) { |
|
|
|