diff --git a/jd_jxnc.js b/jd_jxnc.js index 48443575..1091d120 100644 --- a/jd_jxnc.js +++ b/jd_jxnc.js @@ -93,6 +93,7 @@ let assistUserShareCode = 0; // 随机助力用户 share code $.answer = 0; $.helpNum = 0; $.helpSelfNum = 0; + notifyBool = notifyLevel > 0; // 初始化是否推送 await tokenFormat(); // 处理当前账号 token await shareCodesFormat(); // 处理当前账号 助力码 await jdJXNC(); // 执行当前账号 主代码流程 @@ -112,7 +113,6 @@ function requireConfig() { return new Promise(resolve => { $.log('开始获取配置文件\n') notify = $.isNode() ? require('./sendNotify') : ''; - notifyBool = notifyLevel > 0; // 初始化是否推送 //Node.js用户请在jdCookie.js处填写京东ck; const jdCookieNode = $.isNode() ? require('./jdCookie.js') : ''; const jdTokenNode = $.isNode() ? require('./jdJxncTokens.js') : '';