mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-04-23 12:47:34 +08:00
1
This commit is contained in:
+2
-1
@@ -55,7 +55,8 @@ class UserClass extends BasicClass {
|
||||
let {result} = await this.request(options)
|
||||
let code = result?.code
|
||||
if(code == 1) {
|
||||
for(let task of (result?.content?.taskInfoList||[]).filter(x => x.taskReachNum < x.taskNeedReachNum && x.triggerType==1)) {
|
||||
//console.log(JSON.stringify(result?.content?.taskInfoList))
|
||||
for(let task of (result?.content?.taskInfoList||[]).filter(x => x.taskReachNum < x.taskNeedReachNum && x.triggerType==1 && !x.taskTitle.includes('加购'))) {
|
||||
await this.reachTaskInfo(task);
|
||||
await $.wait(1000);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user