修复东东小窝因装饰领京豆功能下线导致脚本出错
This commit is contained in:
@@ -120,6 +120,6 @@ cron "10-20/5 12 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd
|
||||
# 金融打卡领年终奖
|
||||
# cron "10 6 1-31 12 *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jr_sign.js, tag=金融打卡领年终奖
|
||||
# 健康抽奖机
|
||||
cron "10 0 1-31 12 *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_health.js,tag=健康抽奖机
|
||||
cron "10 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_health.js,tag=健康抽奖机
|
||||
# 疯狂的joy日常任务
|
||||
cron "30 8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_crazy_joy.js,tag=疯狂的joy日常任务
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
##############短期活动##############
|
||||
# 健康抽奖机(2020.12.31活动过期)
|
||||
10 0 1-31 12 * node /scripts/jd_health.js >> /scripts/logs/jd_health.log 2>&1
|
||||
10 0 * * * node /scripts/jd_health.js >> /scripts/logs/jd_health.log 2>&1
|
||||
##############长期活动##############
|
||||
# 签到
|
||||
0 0,18 * * * cd /scripts && node jd_bean_sign.js >> /scripts/logs/jd_bean_sign.log 2>&1
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* @Author: lxk0301 https://github.com/lxk0301
|
||||
* @Date: 2020-11-12 11:42:12
|
||||
* @Last Modified by: lxk0301
|
||||
* @Last Modified time: 2020-12-23 14:27:20
|
||||
* @Last Modified time: 2021-1-4 14:27:20
|
||||
*/
|
||||
/*
|
||||
东东小窝 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_small_home.js
|
||||
@@ -274,6 +274,7 @@ function queryFurnituresCenterList() {
|
||||
if (safeGet(data)) {
|
||||
data = JSON.parse(data);
|
||||
if (data.head.code === 200) {
|
||||
if (data.body) {
|
||||
let { buy, list } = data.body;
|
||||
$.canBuyList = [];
|
||||
list.map((item, index) => {
|
||||
@@ -296,6 +297,7 @@ function queryFurnituresCenterList() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
$.logErr(e, resp)
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user