Skip to content

Commit 5ccca0a

Browse files
committed
sync
1 parent 9927c9e commit 5ccca0a

1 file changed

Lines changed: 21 additions & 7 deletions

File tree

JDDOG/JDCC/jdcctxcode.js

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,15 @@ const JD_API_HOST = 'https://api.m.jd.com/client.action';
4141
}
4242
continue
4343
}
44-
for (let k = 0; k < 100; k++) {
45-
await getCash();
44+
await getCash();
45+
for (let k = 0; k < 200; k++) {
46+
if (code === -525) {
47+
await getCash();
48+
}else {
49+
await getCash();
50+
console.log(`🔥非火爆抢提现,跳出循环任务`)
51+
break
52+
}
4653
}
4754

4855
}
@@ -70,18 +77,25 @@ function getCash() {
7077
} else {
7178
if (safeGet(data)) {
7279
data = JSON.parse(data);
73-
const code = data.data.bizCode
80+
code = data.data.bizCode
7481
switch (code) {
7582
case 0:
76-
console.log("提现成功!🎉");
77-
$.msg($.name, '', `城城提现成功🎉:${code}`);
83+
console.log(`京东账号${$.index} ${$.nickName || $.UserName}\n提现成功🎉:${code}`);
84+
$.msg($.name, '', `京东账号${$.index} ${$.nickName || $.UserName}\n提现成功🎉:${code}`);
7885
$.done();
7986
break;
8087
case -525:
81-
console.log("提现失败!❌");
88+
console.log(`京东账号${$.index} ${$.nickName || $.UserName}\n提现失败!🔥提现火爆ing...❌`);
8289
break;
8390
case -524:
84-
console.log("提现失败!❌");
91+
console.log(`京东账号${$.index} ${$.nickName || $.UserName}\n提现失败!没到提现门槛❌`);
92+
break;
93+
case -523:
94+
console.log(`京东账号${$.index} ${$.nickName || $.UserName}\n提现失败!❌`);
95+
break;
96+
case -522:
97+
console.log(`京东账号${$.index} ${$.nickName || $.UserName}\n提现失败!已提现20元❌`);
98+
$.msg($.name, '', `京东账号${$.index} ${$.nickName || $.UserName}\n提现20元🎉`);
8599
break;
86100
default:
87101
console.log(`**** getCash *****\n`);

0 commit comments

Comments
 (0)