Compare commits

...

2 Commits

Author SHA1 Message Date
KingRan 60d5a7963f 更新 2022-03-07 15:39:34 +08:00
KingRan a42e4345fc 更新 2022-03-07 15:00:00 +08:00
3 changed files with 341 additions and 5 deletions

337
jd_ghnsjd.js 100644

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@ cron "35 10 * * *" script-path=https://raw.githubusercontent.com/KingRan/JDJB/ma
*/ */
const $ = new Env('个护女神节'); const $ = new Env('3.8个护女神节');
const Faker=require('./sign_graphics_validate.js') const Faker=require('./sign_graphics_validate.js')
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : ''; const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : ''; const notify = $.isNode() ? require('./sendNotify') : '';
@ -59,7 +59,7 @@ message = ""
if(message){ if(message){
$.msg($.name, ``, `${message}\n获得到的京豆不一定到账`); $.msg($.name, ``, `${message}\n获得到的京豆不一定到账`);
if ($.isNode()){ if ($.isNode()){
await notify.sendNotify(`${$.name}`, `${message}\n获得到的京豆不一定到账`); //await notify.sendNotify(`${$.name}`, `${message}\n获得到的京豆不一定到账`);
} }
} }
})() })()
@ -76,9 +76,8 @@ async function run() {
return return
} }
let config = [ let config = [
{configCode:'f7e00cba17fb461ab7204f06a688f957',configName:'食品女神价到'}, {configCode:'21d1986169cf49cf8caee4f0616f6d76',configName:'个护女神节'},
{configCode:'1c099a15608f48dc905af5befaa623d9',configName:'个护女神节'}, {configCode:'f7e00cba17fb461ab7204f06a688f957',configName:'食品女神价到'},
] ]
for(let i in config){ for(let i in config){
$.hotFlag = false $.hotFlag = false