@@ -103,7 +103,7 @@ cron "0 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_script
|
|||||||
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_home.js, tag=领京豆额外奖励
|
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_home.js, tag=领京豆额外奖励
|
||||||
|
|
||||||
# 京东健康
|
# 京东健康
|
||||||
cron "3 8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdh.js,tag=京东健康
|
#cron "3 8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdh.js,tag=京东健康
|
||||||
# 京东赚赚
|
# 京东赚赚
|
||||||
cron "10 11 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdzz.js, tag=京东赚赚
|
cron "10 11 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdzz.js, tag=京东赚赚
|
||||||
# 京东秒杀红包雨
|
# 京东秒杀红包雨
|
||||||
@@ -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 6 1-31 12 *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jr_sign.js, tag=金融打卡领年终奖
|
||||||
# 健康抽奖机
|
# 健康抽奖机
|
||||||
cron "10 * * *" 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日常任务
|
# 疯狂的joy日常任务
|
||||||
cron "30 8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_crazy_joy.js,tag=疯狂的joy日常任务
|
cron "30 8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_crazy_joy.js,tag=疯狂的joy日常任务
|
||||||
|
@@ -24,20 +24,13 @@
|
|||||||
"13 7 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_small_home.js, tag=东东小窝, img-url=https://github.com/58xinian/icon/raw/master/ddxw.png",
|
"13 7 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_small_home.js, tag=东东小窝, img-url=https://github.com/58xinian/icon/raw/master/ddxw.png",
|
||||||
"10 * * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdfactory.js, tag=东东工厂, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_factory.png",
|
"10 * * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdfactory.js, tag=东东工厂, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_factory.png",
|
||||||
"0 7 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_syj.js, tag=十元街, img-url=https://github.com/58xinian/icon/raw/master/jd_syj.png",
|
"0 7 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_syj.js, tag=十元街, img-url=https://github.com/58xinian/icon/raw/master/jd_syj.png",
|
||||||
"15 7 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ms_redrain.js, tag=秒杀红包雨, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
|
|
||||||
"10 6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_home.js, tag=领京豆额外奖励, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_bean_home.png",
|
"10 6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_home.js, tag=领京豆额外奖励, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_bean_home.png",
|
||||||
"0 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car.js, tag=京东汽车, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_car.png",
|
"0 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car.js, tag=京东汽车, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_car.png",
|
||||||
"10 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_kd.js, tag=京东快递签到, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_kd.png",
|
"10 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_kd.js, tag=京东快递签到, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_kd.png",
|
||||||
"30 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",
|
|
||||||
"30 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_health.js, tag=健康抽奖机, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
|
|
||||||
"40 9,10 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_watch.js, tag=京东看一看, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_watch.png",
|
|
||||||
"10-20/5 12 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live.js, tag=京东直播, img-url= https://raw.githubusercontent.com/58xinian/icon/master/jd_live_redrain.png",
|
"10-20/5 12 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live.js, tag=京东直播, img-url= https://raw.githubusercontent.com/58xinian/icon/master/jd_live_redrain.png",
|
||||||
"10 8 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdh.js, tag=京东健康, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_jdh.png",
|
|
||||||
"14 11 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdzz.js, tag=京东赚赚, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzz.png",
|
"14 11 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdzz.js, tag=京东赚赚, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzz.png",
|
||||||
"44 12 * * 6 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_unbind.js, tag=注销京东店铺会员卡, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_unbind.png",
|
"44 12 * * 6 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_unbind.js, tag=注销京东店铺会员卡, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_unbind.png",
|
||||||
"30 8 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_crazy_joy.js, tag=crazyJoy任务, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
|
"30 8 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_crazy_joy.js, tag=crazyJoy任务, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
|
||||||
"1 0,20,9-23/2 15-31 12 * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live_redrain.js, tag=直播红包雨, img-url= https://raw.githubusercontent.com/58xinian/icon/master/jd_live_redrain.png",
|
|
||||||
"10 12 1-31 12 * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jr_sign.js, tag=京东金融打卡, img-url= https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
|
|
||||||
"15 17 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js, tag=小米运动, img-url=https://raw.githubusercontent.com/58xinian/icon/master/xmyd.png"
|
"15 17 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js, tag=小米运动, img-url=https://raw.githubusercontent.com/58xinian/icon/master/xmyd.png"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -56,13 +56,13 @@ cron "40 8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scrip
|
|||||||
#领京豆额外奖励
|
#领京豆额外奖励
|
||||||
cron "30 10 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_home.js, timeout=750, wake-system=1, tag=领京豆额外奖励
|
cron "30 10 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_home.js, timeout=750, wake-system=1, tag=领京豆额外奖励
|
||||||
#京东汽车
|
#京东汽车
|
||||||
cron "0 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car.js, timeout=750, wake-system=1, tag=京东汽车
|
cron "0 10 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car.js, timeout=750, wake-system=1, tag=京东汽车
|
||||||
|
#京东汽车积分兑换京豆
|
||||||
|
cron "0 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car_exchange.js, timeout=2750, wake-system=1, tag=京东汽车积分兑换京豆
|
||||||
#京东快递签到
|
#京东快递签到
|
||||||
cron "20 11 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_kd.js, timeout=750, wake-system=1, tag=京东快递签到
|
cron "20 11 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_kd.js, timeout=750, wake-system=1, tag=京东快递签到
|
||||||
#京东直播(活动结束时间未知)
|
#京东直播(活动结束时间未知)
|
||||||
cron "20 12 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live.js, timeout=750, wake-system=1, tag=京东直播
|
cron "20 12 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live.js, timeout=750, wake-system=1, tag=京东直播
|
||||||
#京东健康
|
|
||||||
cron "20 23 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdh.js, timeout=750, wake-system=1, tag=京东健康
|
|
||||||
#京东赚赚
|
#京东赚赚
|
||||||
cron "20 11 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdzz.js, timeout=750, wake-system=1, tag=京东赚赚
|
cron "20 11 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdzz.js, timeout=750, wake-system=1, tag=京东赚赚
|
||||||
#注销京东店铺会员卡
|
#注销京东店铺会员卡
|
||||||
|
@@ -21,9 +21,9 @@ cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scrip
|
|||||||
*/
|
*/
|
||||||
const $ = new Env('健康抽奖机');
|
const $ = new Env('健康抽奖机');
|
||||||
|
|
||||||
const notify = $.isNode() ? require('./sendNotify') : '';
|
const notify = $.isNode() ? require('../sendNotify') : '';
|
||||||
//Node.js用户请在jdCookie.js处填写京东ck;
|
//Node.js用户请在jdCookie.js处填写京东ck;
|
||||||
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
const jdCookieNode = $.isNode() ? require('../jdCookie.js') : '';
|
||||||
let jdNotify = true;//是否关闭通知,false打开通知推送,true关闭通知推送
|
let jdNotify = true;//是否关闭通知,false打开通知推送,true关闭通知推送
|
||||||
const randomCount = $.isNode() ? 20 : 5;
|
const randomCount = $.isNode() ? 20 : 5;
|
||||||
//IOS等用户直接用NobyDa的jd cookie
|
//IOS等用户直接用NobyDa的jd cookie
|
@@ -218,12 +218,12 @@ async function QQ_READ() {
|
|||||||
if (task.data.user.amount >= 100000) {
|
if (task.data.user.amount >= 100000) {
|
||||||
await qqreadwithdraw();
|
await qqreadwithdraw();
|
||||||
}
|
}
|
||||||
await showmsg();//通知
|
|
||||||
}
|
}
|
||||||
|
await showmsg();//通知
|
||||||
}
|
}
|
||||||
function showmsg() {
|
function showmsg() {
|
||||||
return new Promise(async resolve => {
|
return new Promise(async resolve => {
|
||||||
if (nowTimes.getHours() === 22 && (nowTimes.getMinutes() > 0 && nowTimes.getMinutes() <= 15)) {
|
if (nowTimes.getHours() === 22 && (nowTimes.getMinutes() > 45 && nowTimes.getMinutes() <= 59)) {
|
||||||
await notify.sendNotify(jsname, tz);
|
await notify.sendNotify(jsname, tz);
|
||||||
}
|
}
|
||||||
$.msg(jsname, "", tz);
|
$.msg(jsname, "", tz);
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
50 23 */3 * * rm -rf /scripts/logs/*.log
|
50 23 */3 * * rm -rf /scripts/logs/*.log
|
||||||
|
|
||||||
##############短期活动##############
|
##############短期活动##############
|
||||||
# 健康抽奖机(2020.12.31活动过期)
|
|
||||||
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
|
0 0,18 * * * cd /scripts && node jd_bean_sign.js >> /scripts/logs/jd_bean_sign.log 2>&1
|
||||||
@@ -59,8 +59,6 @@
|
|||||||
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,18 * * * node /scripts/jd_syj.js >> /scripts/logs/jd_syj.log 2>&1
|
36 8,18 * * * node /scripts/jd_syj.js >> /scripts/logs/jd_syj.log 2>&1
|
||||||
# 京东代属(注:限校园用户可使用)
|
|
||||||
# 36 9 * * * node /scripts/jd_ds.js >> /scripts/logs/jd_ds.log 2>&1
|
|
||||||
# 京东快递签到
|
# 京东快递签到
|
||||||
23 1 * * * node /scripts/jd_kd.js >> /scripts/logs/jd_kd.log 2>&1
|
23 1 * * * node /scripts/jd_kd.js >> /scripts/logs/jd_kd.log 2>&1
|
||||||
# 京东汽车(签到满500赛点可兑换500京豆)
|
# 京东汽车(签到满500赛点可兑换500京豆)
|
||||||
@@ -77,3 +75,7 @@
|
|||||||
44 4 * * 6 node /scripts/jd_unbind.js >> /scripts/logs/jd_unbind.log 2>&1
|
44 4 * * 6 node /scripts/jd_unbind.js >> /scripts/logs/jd_unbind.log 2>&1
|
||||||
# crazyJoy自动每日任务
|
# crazyJoy自动每日任务
|
||||||
10 7 * * * node /scripts/jd_crazy_joy.js >> /scripts/logs/jd_crazy_joy.log 2>&1
|
10 7 * * * node /scripts/jd_crazy_joy.js >> /scripts/logs/jd_crazy_joy.log 2>&1
|
||||||
|
# 京东汽车旅程赛点兑换金豆
|
||||||
|
0 0 * * * node /scripts/jd_car_exchange.js >> /scripts/logs/jd_car_exchange.log 2>&1
|
||||||
|
# 导到所有互助码
|
||||||
|
47 7 * * * node /scripts/jd_get_share_code.js >> /scripts/logs/jd_get_share_code.log 2>&1
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
京豆签到,自用,可N个京东账号,IOS软件用户请使用 https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js
|
京豆签到,自用,可N个京东账号,IOS软件用户请使用 https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js
|
||||||
Node.JS专用
|
Node.JS专用
|
||||||
更新时间:2021-1-4
|
更新时间:2021-1-7
|
||||||
从 github @ruicky改写而来
|
从 github @ruicky改写而来
|
||||||
version v0.0.1
|
version v0.0.1
|
||||||
create by ruicky
|
create by ruicky
|
||||||
@@ -76,7 +76,7 @@ async function execSign() {
|
|||||||
const barkContentStart = notifyContent.indexOf('【签到概览】')
|
const barkContentStart = notifyContent.indexOf('【签到概览】')
|
||||||
const barkContentEnd = notifyContent.length;
|
const barkContentEnd = notifyContent.length;
|
||||||
if (process.env.JD_BEAN_SIGN_STOP_NOTIFY === 'true') return
|
if (process.env.JD_BEAN_SIGN_STOP_NOTIFY === 'true') return
|
||||||
if (notify.BARK_PUSH) process.env.JD_BEAN_SIGN_NOTIFY_SIMPLE = 'true';
|
if (process.env.BARK_PUSH || notify.BARK_PUSH) process.env.JD_BEAN_SIGN_NOTIFY_SIMPLE = 'true';
|
||||||
if (process.env.JD_BEAN_SIGN_NOTIFY_SIMPLE === 'true') {
|
if (process.env.JD_BEAN_SIGN_NOTIFY_SIMPLE === 'true') {
|
||||||
if (barkContentStart > -1 && barkContentEnd > -1) {
|
if (barkContentStart > -1 && barkContentEnd > -1) {
|
||||||
BarkContent = notifyContent.substring(barkContentStart, barkContentEnd);
|
BarkContent = notifyContent.substring(barkContentStart, barkContentEnd);
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
京东汽车兑换,500赛点兑换500京豆
|
京东汽车兑换,500赛点兑换500京豆
|
||||||
长期活动
|
长期活动
|
||||||
活动入口:首页👉京东汽车兑换👉屏幕右中部,车主福利
|
|
||||||
|
活动入口
|
||||||
|
京东APP:首页👉京东汽车兑换👉屏幕右中部,车主福利
|
||||||
|
活动网页地址:https://h5.m.jd.com/babelDiy/Zeus/44bjzCpzH9GpspWeBzYSqBA7jEtP/index.html#/journey
|
||||||
|
|
||||||
更新地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car_exchange
|
更新地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_car_exchange
|
||||||
已支持IOS双京东账号, Node.js支持N个京东账号
|
已支持IOS双京东账号, Node.js支持N个京东账号
|
||||||
脚本兼容: QuantumultX, Surge, Loon, 小火箭,JSBox, Node.js
|
脚本兼容: QuantumultX, Surge, Loon, 小火箭,JSBox, Node.js
|
||||||
@@ -55,8 +59,8 @@ const JD_API_HOST = 'https://car-member.jd.com/api/';
|
|||||||
if (cookiesArr[i]) {
|
if (cookiesArr[i]) {
|
||||||
cookie = cookiesArr[i];
|
cookie = cookiesArr[i];
|
||||||
$.UserName = decodeURIComponent(cookie.match(/pt_pin=(.+?);/) && cookie.match(/pt_pin=(.+?);/)[1])
|
$.UserName = decodeURIComponent(cookie.match(/pt_pin=(.+?);/) && cookie.match(/pt_pin=(.+?);/)[1])
|
||||||
console.log(`京东账号${i}`)
|
|
||||||
$.index = i + 1;
|
$.index = i + 1;
|
||||||
|
console.log(`京东账号${$.index} ${$.UserName}`)
|
||||||
$.isLogin = true;
|
$.isLogin = true;
|
||||||
$.nickName = '';
|
$.nickName = '';
|
||||||
message = '';
|
message = '';
|
||||||
|
@@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
一键获取我仓库所有需要互助类脚本的互助码(邀请码)(其中京东赚赚jd_jdzz.js如果今天达到5人助力则不能提取互助码)
|
||||||
|
没必要设置(cron)定时执行,需要的时候,自己手动执行一次即可
|
||||||
|
|
||||||
|
更新地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_get_share_code.js
|
||||||
|
已支持IOS双京东账号, Node.js支持N个京东账号
|
||||||
|
脚本兼容: QuantumultX, Surge, Loon, 小火箭,JSBox, Node.js
|
||||||
|
============Quantumultx===============
|
||||||
|
[task_local]
|
||||||
|
#获取互助码
|
||||||
|
20 13 * * 6 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_get_share_code.js, tag=获取互助码, enabled=true
|
||||||
|
|
||||||
|
================Loon==============
|
||||||
|
[Script]
|
||||||
|
cron "20 13 * * 6" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_get_share_code.js, tag=获取互助码
|
||||||
|
|
||||||
|
===============Surge=================
|
||||||
|
获取互助码 = type=cron,cronexp="20 13 * * 6",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_get_share_code.js
|
||||||
|
|
||||||
|
============小火箭=========
|
||||||
|
获取互助码 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_get_share_code.js, cronexpr="20 13 * * 6", timeout=200, enable=true
|
||||||
|
*/
|
||||||
const $ = new Env("获取互助码");
|
const $ = new Env("获取互助码");
|
||||||
const JD_API_HOST = "https://api.m.jd.com/client.action";
|
const JD_API_HOST = "https://api.m.jd.com/client.action";
|
||||||
let cookiesArr = [], cookie = '', message;
|
let cookiesArr = [], cookie = '', message;
|
||||||
@@ -130,6 +152,7 @@ if ($.isNode()) {
|
|||||||
cookiesArr.reverse();
|
cookiesArr.reverse();
|
||||||
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
|
cookiesArr.push(...[$.getdata('CookieJD2'), $.getdata('CookieJD')]);
|
||||||
cookiesArr.reverse();
|
cookiesArr.reverse();
|
||||||
|
cookiesArr = cookiesArr.filter(item => item !== "" && item !== null && item !== undefined);
|
||||||
}
|
}
|
||||||
!(async () => {
|
!(async () => {
|
||||||
if (!cookiesArr[0]) {
|
if (!cookiesArr[0]) {
|
||||||
@@ -148,9 +171,7 @@ if ($.isNode()) {
|
|||||||
if (!$.isLogin) {
|
if (!$.isLogin) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
console.log(`======账号${$.index}开始======`)
|
|
||||||
await getShareCode()
|
await getShareCode()
|
||||||
console.log(`======账号${$.index}结束======\n`)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
@@ -576,6 +597,7 @@ async function getJoy(){
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
async function getShareCode() {
|
async function getShareCode() {
|
||||||
|
console.log(`======账号${$.index}开始======`)
|
||||||
await getJdFactory()
|
await getJdFactory()
|
||||||
await getJxFactory()
|
await getJxFactory()
|
||||||
await getJdPet()
|
await getJdPet()
|
||||||
@@ -583,6 +605,7 @@ async function getShareCode() {
|
|||||||
await getJDFruit()
|
await getJDFruit()
|
||||||
await getJdZZ()
|
await getJdZZ()
|
||||||
await getJoy()
|
await getJoy()
|
||||||
|
console.log(`======账号${$.index}结束======\n`)
|
||||||
}
|
}
|
||||||
|
|
||||||
function safeGet(data) {
|
function safeGet(data) {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -22,12 +22,12 @@ inputs:
|
|||||||
cronExpression: "0 0 0 * * * *"
|
cronExpression: "0 0 0 * * * *"
|
||||||
enable: true
|
enable: true
|
||||||
argument: jd_bean_sign
|
argument: jd_bean_sign
|
||||||
- timer: #京小超兑换奖品 #摇京豆 #京东汽车
|
- timer: #京小超兑换奖品 #摇京豆 #京东汽车 #京东汽车兑换
|
||||||
parameters:
|
parameters:
|
||||||
name: jd_blueCoin_jd_club_lottery_car
|
name: jd_blueCoin_jd_club_lottery_car_car_exchange
|
||||||
cronExpression: "0 0 0 * * * *"
|
cronExpression: "0 0 0 * * * *"
|
||||||
enable: true
|
enable: true
|
||||||
argument: jd_blueCoin&jd_club_lottery&jd_car
|
argument: jd_blueCoin&jd_club_lottery&jd_car&jd_car_exchange
|
||||||
- timer: # 东东农场# 东东萌宠
|
- timer: # 东东农场# 东东萌宠
|
||||||
parameters:
|
parameters:
|
||||||
name: jd_fruit_jd_pet
|
name: jd_fruit_jd_pet
|
||||||
@@ -46,12 +46,12 @@ inputs:
|
|||||||
cronExpression: "0 0 0-16/8,20 * * * *"
|
cronExpression: "0 0 0-16/8,20 * * * *"
|
||||||
enable: true
|
enable: true
|
||||||
argument: jd_joy_reward&jd_joy_steal&jd_necklace&jd_live
|
argument: jd_joy_reward&jd_joy_steal&jd_necklace&jd_live
|
||||||
- timer: #京东全民开红包 #进店领豆 #取关京东店铺商品 #注销京东会员卡 #京东抽奖机 #东东小窝 #健康抽奖机
|
- timer: #京东全民开红包 #进店领豆 #取关京东店铺商品 #注销京东会员卡 #京东抽奖机 #东东小窝
|
||||||
parameters:
|
parameters:
|
||||||
name: redPacket_shop_unsubscribe_unbind_lotteryMachine_small_home_health
|
name: redPacket_shop_unsubscribe_unbind_lotteryMachine_small_home
|
||||||
cronExpression: "0 10 0 * * * *"
|
cronExpression: "0 10 0 * * * *"
|
||||||
enable: true
|
enable: true
|
||||||
argument: jd_redPacket&jd_shop&jd_unsubscribe&jd_unbind&jd_lotteryMachine&jd_small_home&jd_health
|
argument: jd_redPacket&jd_shop&jd_unsubscribe&jd_unbind&jd_lotteryMachine&jd_small_home
|
||||||
- timer: # 京东天天加速# 天天提鹅
|
- timer: # 京东天天加速# 天天提鹅
|
||||||
parameters:
|
parameters:
|
||||||
name: jd_speed_jd_daily_egg
|
name: jd_speed_jd_daily_egg
|
||||||
|
Reference in New Issue
Block a user