Skip to content

Commit

Permalink
修复全名开红包脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
lxk0301 committed Dec 20, 2020
1 parent 2b32f95 commit 184a49f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jd_redPacket.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* @Author: lxk0301
* @Date: 2020-11-03 18:12:38
* @Last Modified by: lxk0301
* @Last Modified time: 2020-11-23 12:27:18
* @Last Modified time: 2020-12-20 12:27:18
*/
/*
京东全民开红包(京东app->主页->领券->抢红包(在底部)
京东全民开红包(京东app->首页->领券->锦鲤红包
已完成功能:
①浏览活动
②关注频道
Expand Down Expand Up @@ -103,7 +103,7 @@ async function redPacket() {
await receiveTaskRedpacket(item.taskType);
} else if (item.innerStatus !== 4) {
await startTask(item.taskType);
if (item.taskType !== 0) {
if (item.taskType !== 0 && item.taskType !== 1) {
console.log(`开始做浏览任务\n`);
await active(item.taskType);
await receiveTaskRedpacket(item.taskType);
Expand Down

0 comments on commit 184a49f

Please sign in to comment.