删除京小超之前需互相助力的脚本功能
This commit is contained in:
@@ -119,7 +119,7 @@ function user_info() {
|
||||
userInfo = res.resultData.data;
|
||||
// userInfo.realName = null;
|
||||
if (userInfo.realName) {
|
||||
console.log(`助力码sharePin为::${userInfo.sharePin}`);
|
||||
// console.log(`助力码sharePin为::${userInfo.sharePin}`);
|
||||
$.treeMsgTime = userInfo.sharePin;
|
||||
if ($.getdata($.treeMsgTime)) {
|
||||
if ($.getdata($.treeMsgTime) >= Notice) {
|
||||
|
@@ -35,8 +35,11 @@ if ($.isNode()) {
|
||||
console.log(`\n开始【京东账号${$.index}】${$.nickName || $.UserName}\n`);
|
||||
if (!$.isLogin) {
|
||||
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/`, {"open-url": "https://bean.m.jd.com/"});
|
||||
$.setdata('', `CookieJD${i ? i + 1 : "" }`);//cookie失效,故清空cookie。
|
||||
if ($.isNode()) await notify.sendNotify(`${$.name}cookie已失效 - ${$.UserName}`, `京东账号${$.index} ${$.UserName}\n请重新登录获取cookie`);
|
||||
if ($.isNode()) {
|
||||
await notify.sendNotify(`${$.name}cookie已失效 - ${$.UserName}`, `京东账号${$.index} ${$.UserName}\n请重新登录获取cookie`);
|
||||
} else {
|
||||
$.setdata('', `CookieJD${i ? i + 1 : "" }`);//cookie失效,故清空cookie。$.setdata('', `CookieJD${i ? i + 1 : "" }`);//cookie失效,故清空cookie。
|
||||
}
|
||||
continue
|
||||
}
|
||||
message = '';
|
||||
|
Reference in New Issue
Block a user