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

@@ -1,5 +1,5 @@
/*
* @Author: lxk0301 https://github.com/lxk0301
* @Author: LXK9301 https://github.com/LXK9301
* @Date: 2020-11-27 09:19:21
* @Last Modified by: shylocks https://github.com/shylocks
* @Last Modified time: 2020-12-7 17:39:02
@@ -8,24 +8,24 @@
京东代属脚本,类似十元街,⚠️⚠️⚠️⚠️限校园用户可使用,其他用户签到失败无京豆
一周签到下来可获得30京豆一天任意时刻运行一次即可
更新地址https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ds.js
更新地址https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ds.js
参考github@jidesheng6修改而来
已支持IOS双京东账号, Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, 小火箭JSBox, Node.js
============Quantumultx===============
[task_local]
#京东代属
10 7 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ds.js, tag=京东代属, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_ds.png, enabled=true
10 7 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ds.js, tag=京东代属, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_ds.png, enabled=true
================Loon==============
[Script]
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ds.js, tag=京东代属
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ds.js, tag=京东代属
===============Surge=================
京东代属 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ds.js
京东代属 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ds.js
============小火箭=========
京东代属 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ds.js, cronexpr="10 7 * * *", timeout=200, enable=true
京东代属 = type=cron,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ds.js, cronexpr="10 7 * * *", timeout=200, enable=true
*/
const $ = new Env('京东代属');
@@ -91,8 +91,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}`);
}