This commit is contained in:
Faker
2022-07-19 10:28:39 +08:00
parent 1eac68c9e1
commit aae7cfc99d
16 changed files with 1869 additions and 405 deletions

View File

@@ -1,9 +1,5 @@
/*
2 10 7 6 * m_jd_fav_shop_gift.js
*/
let mode = __dirname.includes('magic')
const {Env} = mode ? require('./function/magic') : require('./function/magic')
const {Env} = mode ? require('./magic') : require('./magic')
const $ = new Env('M收藏有礼');
$.favShopArgv = process.env.M_FAV_SHOP_ARGV
? process.env.M_FAV_SHOP_ARGV
@@ -67,7 +63,7 @@ $.logic = async function () {
}
await DelShopFav()
};
$.run({wait: [300, 1000],whitelist: ['1-5']})
$.run({wait: [300, 1000],whitelist: ['1-99']})
.catch(reason => $.log(reason))
async function GiveShopGift() {
@@ -137,4 +133,4 @@ async function QueryShopActive() {
let {status, data} = await $.request(url, headers);
await $.wait(100, 500)
return $.handler(data);
}
}