(data)
| 595 | } |
| 596 | |
| 597 | function share(data) { |
| 598 | if (data.opType === 1) { |
| 599 | console.log(`开始做分享任务\n`) |
| 600 | } else { |
| 601 | console.log(`开始做领取分享后的奖励\n`) |
| 602 | } |
| 603 | return new Promise((rs, rj) => { |
| 604 | request('doWork', data).then(response => { |
| 605 | rs(response); |
| 606 | }) |
| 607 | }) |
| 608 | } |
| 609 | |
| 610 | async function stealFriendFruit() { |
| 611 | await friendRank(); |