mirror of
https://github.com/shufflewzc/faker3.git
synced 2026-04-04 17:04:08 +08:00
sync
This commit is contained in:
17
jd_wish.js
17
jd_wish.js
@@ -25,8 +25,8 @@ let message = '', allMessage = '';
|
||||
//IOS等用户直接用NobyDa的jd cookie
|
||||
let cookiesArr = [], cookie = '';
|
||||
const JD_API_HOST = 'https://api.m.jd.com/client.action';
|
||||
let appIdArr = ["1GFNRxq8","1GVFUx6g", "1E1xZy6s", "1GVJWyqg","1GFRRyqo"];
|
||||
let appNameArr = ["新年宠粉","JOY年味之旅","PLUS生活特权", "虎娃迎福","过新潮年"];
|
||||
let appIdArr = ['1EFRQwA','1FFVQyqw','1E1xZy6s'];
|
||||
let appNameArr = ['疯狂砸金蛋','1111点心动','PLUS生活特权'];
|
||||
let appId, appName;
|
||||
$.shareCode = [];
|
||||
if ($.isNode()) {
|
||||
@@ -72,18 +72,13 @@ if ($.isNode()) {
|
||||
if ($.isNode()) await notify.sendNotify($.name, allMessage);
|
||||
$.msg($.name, '', allMessage)
|
||||
}
|
||||
let res = await getAuthorShareCode('')
|
||||
let res = await getAuthorShareCode('https://raw.githubusercontent.com/Aaron-lv/updateTeam/master/shareCodes/wish.json')
|
||||
if (!res) {
|
||||
$.http.get({url: ''}).then((resp) => {}).catch((e) => console.log('刷新CDN异常', e));
|
||||
$.http.get({url: 'https://purge.jsdelivr.net/gh/Aaron-lv/updateTeam@master/shareCodes/wish.json'}).then((resp) => {}).catch((e) => console.log('刷新CDN异常', e));
|
||||
await $.wait(1000)
|
||||
res = await getAuthorShareCode('')
|
||||
res = await getAuthorShareCode('https://cdn.jsdelivr.net/gh/Aaron-lv/updateTeam@master/shareCodes/wish.json')
|
||||
}
|
||||
let res2 = await getAuthorShareCode('')
|
||||
if (!res2) {
|
||||
await $.wait(1000)
|
||||
res2 = await getAuthorShareCode('')
|
||||
}
|
||||
$.shareCode = [...$.shareCode, ...(res || []), ...(res2 || [])]
|
||||
$.shareCode = [...$.shareCode, ...(res || [])]
|
||||
for (let i = 0; i < cookiesArr.length; i++) {
|
||||
if (cookiesArr[i]) {
|
||||
cookie = cookiesArr[i];
|
||||
|
||||
Reference in New Issue
Block a user