update
This commit is contained in:
@ -28,13 +28,7 @@ if ($.isNode()) {
|
||||
})
|
||||
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => {};
|
||||
} else {
|
||||
let cookiesData = $.getdata('CookiesJD') || "[]";
|
||||
cookiesData = jsonParse(cookiesData);
|
||||
cookiesArr = cookiesData.map(item => item.cookie);
|
||||
cookiesArr.reverse();
|
||||
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
|
||||
cookiesArr.reverse();
|
||||
cookiesArr = cookiesArr.filter(item => item !== "" && item !== null && item !== undefined);
|
||||
cookiesArr = [$.getdata('CookieJD'), $.getdata('CookieJD2'), ...jsonParse($.getdata('CookiesJD') || "[]").map(item => item.cookie)].filter(item => !!item);
|
||||
}
|
||||
const jdNotify = $.getdata('jdUnbindCardNotify');//是否关闭通知,false打开通知推送,true关闭通知推送
|
||||
let cardPageSize = 200;// 运行一次取消多少个会员卡。数字0表示不注销任何会员卡
|
||||
|
Reference in New Issue
Block a user