[京喜农场] 每个用户 cookie 重置 notify 通知开关
This commit is contained in:
@@ -93,6 +93,7 @@ let assistUserShareCode = 0; // 随机助力用户 share code
|
|||||||
$.answer = 0;
|
$.answer = 0;
|
||||||
$.helpNum = 0;
|
$.helpNum = 0;
|
||||||
$.helpSelfNum = 0;
|
$.helpSelfNum = 0;
|
||||||
|
notifyBool = notifyLevel > 0; // 初始化是否推送
|
||||||
await tokenFormat(); // 处理当前账号 token
|
await tokenFormat(); // 处理当前账号 token
|
||||||
await shareCodesFormat(); // 处理当前账号 助力码
|
await shareCodesFormat(); // 处理当前账号 助力码
|
||||||
await jdJXNC(); // 执行当前账号 主代码流程
|
await jdJXNC(); // 执行当前账号 主代码流程
|
||||||
@@ -112,7 +113,6 @@ function requireConfig() {
|
|||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
$.log('开始获取配置文件\n')
|
$.log('开始获取配置文件\n')
|
||||||
notify = $.isNode() ? require('./sendNotify') : '';
|
notify = $.isNode() ? require('./sendNotify') : '';
|
||||||
notifyBool = notifyLevel > 0; // 初始化是否推送
|
|
||||||
//Node.js用户请在jdCookie.js处填写京东ck;
|
//Node.js用户请在jdCookie.js处填写京东ck;
|
||||||
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
||||||
const jdTokenNode = $.isNode() ? require('./jdJxncTokens.js') : '';
|
const jdTokenNode = $.isNode() ? require('./jdJxncTokens.js') : '';
|
||||||
|
Reference in New Issue
Block a user