1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2026-04-23 04:44:23 +08:00
This commit is contained in:
2024
2024-04-26 12:31:30 +08:00
parent 26ded81549
commit 8cabc3ec83
3 changed files with 25 additions and 5 deletions
+5 -5
View File
@@ -8,14 +8,14 @@
============Quantumultx===============
[task_local]
#京东快递签到
23 3 * * * jd_kd.js, tag=京东快递签到, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_kd.png, enabled=true
23 4 * * * jd_kd.js, tag=京东快递签到, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_kd.png, enabled=true
================Loon==============
[Script]
cron "23 3 * * * " script-path=jd_kd.js, tag=京东快递签到
cron "23 4 * * * " script-path=jd_kd.js, tag=京东快递签到
===============Surge=================
京东快递签到 = type=cron,cronexp="23 3 * * * ",wake-system=1,timeout=3600,script-path=jd_kd.js
京东快递签到 = type=cron,cronexp="23 4 * * * ",wake-system=1,timeout=3600,script-path=jd_kd.js
============小火箭=========
京东快递签到 = type=cron,script-path=jd_kd.js, cronexpr="23 3 * * * ", timeout=3600, enable=true
京东快递签到 = type=cron,script-path=jd_kd.js, cronexpr="23 4 * * * ", timeout=3600, enable=true
*/
const $ = new Env('京东快递签到');
@@ -48,7 +48,7 @@ const JD_API_HOST = 'https://api.m.jd.com/api';
$.isLogin = true;
$.nickName = '';
message = '';
await TotalBean();
//await TotalBean();
console.log(`\n******开始【京东账号${$.index}${$.nickName || $.UserName}*********\n`);
if (!$.isLogin) {
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`, {"open-url": "https://bean.m.jd.com/bean/signIndex.action"});