This commit is contained in:
lxk0301
2021-01-16 17:10:19 +08:00
parent 5dfd15fc39
commit 28aa5e7a81
98 changed files with 609 additions and 587 deletions

View File

@@ -11,17 +11,17 @@
============Quantumultx===============
[task_local]
#京东看一看
10 9 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_watch.js, tag=京东看一看, enabled=true
10 9 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_watch.js, tag=京东看一看, enabled=true
================Loon==============
[Script]
cron "10 9 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_watch.js,tag=京东看一看
cron "10 9 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_watch.js,tag=京东看一看
===============Surge=================
京东看一看 = type=cron,cronexp="10 9 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_watch.js
京东看一看 = type=cron,cronexp="10 9 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_watch.js
============小火箭=========
京东看一看 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_watch.js, cronexpr="10 9 * * *", timeout=900, enable=true
京东看一看 = type=cron,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_watch.js, cronexpr="10 9 * * *", timeout=900, enable=true
*/
const $ = new Env('京东看一看');
let acceptBody = [
@@ -225,8 +225,8 @@ function showMsg() {
// $.msg($.name, '', `京东账号${$.index} ${$.nickName}\n${message}`);
let nowTime = new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000;
if (nowTime > new Date('2020/12/31 23:59:59+08:00').getTime()) {
$.msg($.name, '活动已结束', `咱江湖再见\nhttps://github.com/lxk0301/jd_scripts`, {"open-url": "https://github.com/lxk0301/jd_scripts"});
if ($.isNode()) await notify.sendNotify($.name + '活动已结束', `咱江湖再见\n https://github.com/lxk0301/jd_scripts`)
$.msg($.name, '活动已结束', `咱江湖再见\nhttps://github.com/LXK9301/jd_scripts`, {"open-url": "https://github.com/LXK9301/jd_scripts"});
if ($.isNode()) await notify.sendNotify($.name + '活动已结束', `咱江湖再见\n https://github.com/LXK9301/jd_scripts`)
} else {
$.msg($.name, '', `京东账号${$.index} ${$.nickName}\n${message}`);
}