mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-05-06 21:53:07 +08:00
Compare commits
3 Commits
64f6873c3f
...
1099ea72e0
| Author | SHA1 | Date | |
|---|---|---|---|
| 1099ea72e0 | |||
| f0782d2a9a | |||
| 632cb7a0c0 |
File diff suppressed because one or more lines are too long
+2
-2
@@ -38,7 +38,7 @@ const ua = require('./USER_AGENTS');
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
let cachecode = [];
|
let cachecode = [];
|
||||||
$.reqnum = 1;
|
$.reqnum = 1;
|
||||||
fs.existsSync('./fruit_helpcode') && (cachecode = JSON.parse(fs.readFileSync('./fruit_helpcode', 'utf8')));
|
//fs.existsSync('./fruit_helpcode') && (cachecode = JSON.parse(fs.readFileSync('./fruit_helpcode', 'utf8')));
|
||||||
!(async () => {
|
!(async () => {
|
||||||
await requireConfig();
|
await requireConfig();
|
||||||
if (!cookiesArr[0]) {
|
if (!cookiesArr[0]) {
|
||||||
@@ -94,7 +94,6 @@ async function jdFruit() {
|
|||||||
// option['media-url'] = $.farmInfo.farmUserPro.goodsImage;
|
// option['media-url'] = $.farmInfo.farmUserPro.goodsImage;
|
||||||
message = `【水果名称】${$.farmInfo.farmUserPro.name}\n`;
|
message = `【水果名称】${$.farmInfo.farmUserPro.name}\n`;
|
||||||
console.log(`\n【京东账号${$.index}(${$.UserName})的${$.name}好友互助码】${$.farmInfo.farmUserPro.shareCode}\n`);
|
console.log(`\n【京东账号${$.index}(${$.UserName})的${$.name}好友互助码】${$.farmInfo.farmUserPro.shareCode}\n`);
|
||||||
!cachecode.includes($.farmInfo.farmUserPro.shareCode) && cachecode.push($.farmInfo.farmUserPro.shareCode);
|
|
||||||
console.log(`\n【已成功兑换水果】${$.farmInfo.farmUserPro.winTimes}次\n`);
|
console.log(`\n【已成功兑换水果】${$.farmInfo.farmUserPro.winTimes}次\n`);
|
||||||
message += `【已兑换水果】${$.farmInfo.farmUserPro.winTimes}次\n`;
|
message += `【已兑换水果】${$.farmInfo.farmUserPro.winTimes}次\n`;
|
||||||
//await masterHelpShare();//助力好友
|
//await masterHelpShare();//助力好友
|
||||||
@@ -116,6 +115,7 @@ async function jdFruit() {
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
cachecode.push($.farmInfo.farmUserPro.shareCode);
|
||||||
await doDailyTask();
|
await doDailyTask();
|
||||||
await doTenWater();//浇水十次
|
await doTenWater();//浇水十次
|
||||||
await getFirstWaterAward();//领取首次浇水奖励
|
await getFirstWaterAward();//领取首次浇水奖励
|
||||||
|
|||||||
Reference in New Issue
Block a user