debug
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
京东京喜工厂
|
||||
更新时间:2021-4-7
|
||||
更新时间:2021-4-8
|
||||
修复做任务、收集电力出现火爆,不能完成任务,重新计算h5st验证
|
||||
参考自 :https://www.orzlee.com/web-development/2021/03/03/lxk0301-jingdong-signin-scriptjingxi-factory-solves-the-problem-of-unable-to-signin.html
|
||||
活动入口:京东APP-游戏与互动-查看更多-京喜工厂
|
||||
@@ -104,6 +104,7 @@ if ($.isNode()) {
|
||||
if (!$.isLogin) {
|
||||
continue
|
||||
}
|
||||
if ($.canHelp) await joinLeaderTuan();//参团
|
||||
$.UserName = decodeURIComponent(cookie.match(/pt_pin=([^; ]+)(?=;?)/) && cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1])
|
||||
if ((cookiesArr && cookiesArr.length >= ($.tuanNum || 5)) && $.canHelp) {
|
||||
console.log(`\n账号内部相互进团\n`);
|
||||
@@ -113,7 +114,6 @@ if ($.isNode()) {
|
||||
await JoinTuan(item);
|
||||
}
|
||||
}
|
||||
if ($.canHelp) await joinLeaderTuan();//参团
|
||||
}
|
||||
}
|
||||
if ($.isNode() && allMessage) {
|
||||
@@ -967,6 +967,7 @@ async function tuanActivity() {
|
||||
}
|
||||
async function joinLeaderTuan() {
|
||||
let res = await updateTuanIdsCDN(), res2 = await updateTuanIdsCDN("http://qr6pzoy01.hn-bkt.clouddn.com/factory.json")
|
||||
if (!res) res = await updateTuanIdsCDN('https://cdn.jsdelivr.net/gh/gitupdate/updateTeam@master/shareCodes/jd_updateFactoryTuanId.json');
|
||||
$.authorTuanIds = [...(res && res.tuanIds || []),...(res2 && res2.tuanIds || [])]
|
||||
if ($.authorTuanIds && $.authorTuanIds.length) {
|
||||
console.log(`\n参加作者的团`);
|
||||
|
Reference in New Issue
Block a user