mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Update jd_superBrandStar.js
This commit is contained in:
parent
8b449c16e7
commit
cdddf6da86
@ -1,10 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
特务Z,默认选择左边战队
|
特务之明星送好礼
|
||||||
脚本没有自动开卡,会尝试领取开卡奖励
|
一次性脚本。请禁用!
|
||||||
cron 23 11,20 * * * https://raw.githubusercontent.com/star261/jd/main/scripts/jd_productZ4Brand.js
|
cron 36 18 * * * jd_superBrandStar.js
|
||||||
一天要跑2次
|
|
||||||
*/
|
*/
|
||||||
const $ = new Env('特务Z');
|
const $ = new Env('特务之明星送好礼');
|
||||||
const notify = $.isNode() ? require('./sendNotify') : '';
|
const notify = $.isNode() ? require('./sendNotify') : '';
|
||||||
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
||||||
let cookiesArr = [];
|
let cookiesArr = [];
|
||||||
@ -200,7 +199,7 @@ function getRequest(url) {
|
|||||||
'Cookie': $.cookie,
|
'Cookie': $.cookie,
|
||||||
'Connection': `keep-alive`,
|
'Connection': `keep-alive`,
|
||||||
'Accept': `application/json, text/plain, */*`,
|
'Accept': `application/json, text/plain, */*`,
|
||||||
'Referer': `https://prodev.m.jd.com/mall/active/3XbzM8XrNaiKRVuD9jHZhj9vYG8d/index.html`,
|
'Referer': `https://prodev.m.jd.com/mall/active/31GFSKyRbD3ehsHih2rQKArxfb8c/index.html`,
|
||||||
'Host': `api.m.jd.com`,
|
'Host': `api.m.jd.com`,
|
||||||
'User-Agent': UA,
|
'User-Agent': UA,
|
||||||
'Accept-Language': `zh-cn`,
|
'Accept-Language': `zh-cn`,
|
||||||
|
Loading…
Reference in New Issue
Block a user