1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2026-04-23 12:47:34 +08:00
This commit is contained in:
2024
2024-04-22 09:53:40 +08:00
parent a26e88d6b7
commit b5a1200daf
4 changed files with 8 additions and 29 deletions
+2 -1
View File
@@ -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;