fix
This commit is contained in:
@@ -90,7 +90,7 @@ if ($.isNode()) {
|
|||||||
let res = [], res2 = [], res3 = [];
|
let res = [], res2 = [], res3 = [];
|
||||||
res3 = await getAuthorShareCode('https://raw.githubusercontent.com/gitupdate/updateTeam/master/shareCodes/jd_zoo.json');
|
res3 = await getAuthorShareCode('https://raw.githubusercontent.com/gitupdate/updateTeam/master/shareCodes/jd_zoo.json');
|
||||||
if (!res3) await getAuthorShareCode('https://cdn.jsdelivr.net/gh/gitupdate/updateTeam@master/shareCodes/jd_zoo.json')
|
if (!res3) await getAuthorShareCode('https://cdn.jsdelivr.net/gh/gitupdate/updateTeam@master/shareCodes/jd_zoo.json')
|
||||||
if (new Date().getUTCHours() + 8 >= 17) {
|
if (new Date().getHours()>= 17) {
|
||||||
res = await getAuthorShareCode() || [];
|
res = await getAuthorShareCode() || [];
|
||||||
res2 = await getAuthorShareCode('http://cdn.trueorfalse.top/e528ffae31d5407aac83b8c37a4c86bc/') || [];
|
res2 = await getAuthorShareCode('http://cdn.trueorfalse.top/e528ffae31d5407aac83b8c37a4c86bc/') || [];
|
||||||
}
|
}
|
||||||
@@ -109,7 +109,7 @@ if ($.isNode()) {
|
|||||||
$.index = i + 1;
|
$.index = i + 1;
|
||||||
//console.log($.inviteList);
|
//console.log($.inviteList);
|
||||||
//pk助力
|
//pk助力
|
||||||
if (new Date().getUTCHours() + 8 >= 9) {
|
if (new Date().getHours() >= 9) {
|
||||||
console.log(`\n******开始内部京东账号【怪兽大作战pk】助力*********\n`);
|
console.log(`\n******开始内部京东账号【怪兽大作战pk】助力*********\n`);
|
||||||
for (let i = 0; i < $.pkInviteList.length && pKHelpFlag && $.canHelp; i++) {
|
for (let i = 0; i < $.pkInviteList.length && pKHelpFlag && $.canHelp; i++) {
|
||||||
console.log(`${$.UserName} 去助力PK码 ${$.pkInviteList[i]}`);
|
console.log(`${$.UserName} 去助力PK码 ${$.pkInviteList[i]}`);
|
||||||
@@ -235,7 +235,7 @@ async function zoo() {
|
|||||||
await takePostRequest('zoo_raise');
|
await takePostRequest('zoo_raise');
|
||||||
}
|
}
|
||||||
//===================================图鉴里的店铺====================================================================
|
//===================================图鉴里的店铺====================================================================
|
||||||
if (new Date().getUTCHours() + 8 >= 17 && new Date().getUTCHours() + 8 <= 18 && !$.hotFlag) {//分享
|
if (new Date().getHours()>= 17 && new Date().getHours()<= 18 && !$.hotFlag) {//分享
|
||||||
$.myMapList = [];
|
$.myMapList = [];
|
||||||
await takePostRequest('zoo_myMap');
|
await takePostRequest('zoo_myMap');
|
||||||
for (let i = 0; i < $.myMapList.length; i++) {
|
for (let i = 0; i < $.myMapList.length; i++) {
|
||||||
@@ -247,7 +247,7 @@ async function zoo() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (new Date().getUTCHours() + 8 >= 14 && new Date().getUTCHours() + 8 <= 17 && !$.hotFlag){//30个店铺,为了避免代码执行太久,下午2点到5点才做店铺任务
|
if (new Date().getHours() >= 14 && new Date().getHours() <= 17 && !$.hotFlag){//30个店铺,为了避免代码执行太久,下午2点到5点才做店铺任务
|
||||||
console.log(`去做店铺任务`);
|
console.log(`去做店铺任务`);
|
||||||
$.shopInfoList = [];
|
$.shopInfoList = [];
|
||||||
await takePostRequest('qryCompositeMaterials');
|
await takePostRequest('qryCompositeMaterials');
|
||||||
|
Reference in New Issue
Block a user