update
This commit is contained in:
@ -453,7 +453,7 @@ function taskUrl(functionId, body = {}) {
|
||||
}
|
||||
}
|
||||
|
||||
function getAuthorShareCode(url = "http://qr6pzoy01.hn-bkt.clouddn.com/jd_cash.json") {
|
||||
function getAuthorShareCode(url = "https://a.nz.lu/jd_cash.json") {
|
||||
return new Promise(resolve => {
|
||||
$.get({url, headers:{
|
||||
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/87.0.4280.88"
|
||||
|
@ -968,7 +968,7 @@ async function tuanActivity() {
|
||||
}
|
||||
}
|
||||
async function joinLeaderTuan() {
|
||||
let res = await updateTuanIdsCDN(), res2 = await updateTuanIdsCDN("http://qr6pzoy01.hn-bkt.clouddn.com/factory.json")
|
||||
let res = await updateTuanIdsCDN(), res2 = await updateTuanIdsCDN("https://a.nz.lu/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) {
|
||||
|
File diff suppressed because one or more lines are too long
@ -52,7 +52,7 @@ const JD_API_HOST = 'https://api.m.jd.com/api';
|
||||
$.msg($.name, '【提示】请先获取京东账号一cookie\n直接使用NobyDa的京东签到获取', 'https://bean.m.jd.com/bean/signIndex.action', {"open-url": "https://bean.m.jd.com/bean/signIndex.action"});
|
||||
return;
|
||||
}
|
||||
await getAuthorShareCode('http://qr6pzoy01.hn-bkt.clouddn.com/jd_zz.json');
|
||||
await getAuthorShareCode('https://a.nz.lu/jd_zz.json');
|
||||
await getAuthorShareCode('https://raw.githubusercontent.com/gitupdate/updateTeam/master/shareCodes/jd_zz.json');
|
||||
await getRandomCode();
|
||||
for (let i = 0; i < cookiesArr.length; i++) {
|
||||
|
Reference in New Issue
Block a user