Update jd_superBrandStar.js

This commit is contained in:
Faker 2022-05-07 17:59:20 +08:00
parent 8b449c16e7
commit cdddf6da86

View File

@ -1,10 +1,9 @@
/**
特务Z默认选择左边战队
脚本没有自动开卡会尝试领取开卡奖励
cron 23 11,20 * * * https://raw.githubusercontent.com/star261/jd/main/scripts/jd_productZ4Brand.js
一天要跑2次
特务之明星送好礼
一次性脚本请禁用
cron 36 18 * * * jd_superBrandStar.js
*/
const $ = new Env('特务Z');
const $ = new Env('特务之明星送好礼');
const notify = $.isNode() ? require('./sendNotify') : '';
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
let cookiesArr = [];
@ -200,7 +199,7 @@ function getRequest(url) {
'Cookie': $.cookie,
'Connection': `keep-alive`,
'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`,
'User-Agent': UA,
'Accept-Language': `zh-cn`,