docker方法一新增十元街,Loon订阅配置新增十元街脚本
This commit is contained in:
@ -63,6 +63,9 @@ cron "2 9 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_script
|
||||
#点点券
|
||||
cron "20 0,20 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_necklace.js, tag=点点券
|
||||
|
||||
#十元街
|
||||
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_syj.js, tag=十元街
|
||||
|
||||
#东东小窝
|
||||
cron "16 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_small_home.js, tag=东东小窝
|
||||
|
||||
|
@ -60,4 +60,6 @@
|
||||
# 东东小窝
|
||||
16 6 * * * node /scripts/jd_small_home.js >> /scripts/logs/jd_small_home.log 2>&1
|
||||
# 东东工厂
|
||||
36 * * * * node /scripts/jd_jdfactory.js >> /scripts/logs/jd_jdfactory.log 2>&1
|
||||
36 * * * * node /scripts/jd_jdfactory.js >> /scripts/logs/jd_jdfactory.log 2>&1
|
||||
#十元街
|
||||
36 8 * * * node /scripts/jd_syj.js >> /scripts/logs/jd_syj.log 2>&1
|
@ -60,4 +60,6 @@
|
||||
# 东东小窝
|
||||
16 6 * * * node /scripts/jd_small_home.js |ts >> /scripts/logs/jd_small_home.log 2>&1
|
||||
# 东东工厂
|
||||
36 * * * * node /scripts/jd_jdfactory.js |ts >> /scripts/logs/jd_jdfactory.log 2>&1
|
||||
36 * * * * node /scripts/jd_jdfactory.js |ts >> /scripts/logs/jd_jdfactory.log 2>&1
|
||||
#十元街
|
||||
36 8 * * * node /scripts/jd_syj.js |ts >> /scripts/logs/jd_syj.log 2>&1
|
@ -17,7 +17,7 @@
|
||||
|
||||
================Loon==============
|
||||
[Script]
|
||||
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_syj.js,tag=十元街
|
||||
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_syj.js, tag=十元街
|
||||
|
||||
===============Surge=================
|
||||
十元街 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_syj.js
|
||||
@ -96,7 +96,6 @@ function userSignIn() {
|
||||
console.log(`${$.name} API请求失败,请检查网路重试`)
|
||||
} else {
|
||||
if (safeGet(data)) {
|
||||
console.log(data);
|
||||
data = JSON.parse(data);
|
||||
if (data.code === 0) {
|
||||
console.log(`今日签到成功`)
|
||||
@ -104,8 +103,8 @@ function userSignIn() {
|
||||
let { alreadySignDays, beanTotalNum, todayPrize, eachDayPrize } = data.data;
|
||||
message += `【第${alreadySignDays}日签到】成功,获得${todayPrize.beanAmount}京豆 🐶\n`;
|
||||
if (alreadySignDays === 7) alreadySignDays = 0;
|
||||
message += `【明日签到成功】可获得${eachDayPrize[alreadySignDays].beanAmount}京豆 🐶\n`;
|
||||
message += `【签到累计获得】${beanTotalNum}京豆 🐶\n`;
|
||||
message += `【明日签到】可获得${eachDayPrize[alreadySignDays].beanAmount}京豆 🐶\n`;
|
||||
message += `【累计获得】${beanTotalNum}京豆 🐶\n`;
|
||||
}
|
||||
} else if (data.code === 81) {
|
||||
console.log(`今日已签到`)
|
||||
|
Reference in New Issue
Block a user