1. 增加一个UA;2. 将京小超全部更换为东东超市。

This commit is contained in:
anonymous
2021-01-21 19:48:33 +08:00
parent 8c775d5a13
commit a0ec777b07
11 changed files with 27 additions and 26 deletions

View File

@@ -1,25 +1,25 @@
/*
京小超兑换奖品 脚本地址https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js
东东超市兑换奖品 脚本地址https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js
感谢@yangtingxiao提供PR
更新时间2020-12-24
支持京东多个账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============QuantumultX==============
[task_local]
#京小超兑换奖品
0 0 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js, tag=京小超兑换奖品, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jxc.png, enabled=true
#东东超市兑换奖品
0 0 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js, tag=东东超市兑换奖品, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jxc.png, enabled=true
====================Loon=================
[Script]
cron "0 0 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js,tag=京小超兑换奖品
cron "0 0 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js,tag=东东超市兑换奖品
===================Surge==================
京小超兑换奖品 = type=cron,cronexp="0 0 0 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js
东东超市兑换奖品 = type=cron,cronexp="0 0 0 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js
============小火箭=========
京小超兑换奖品 = type=cron,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js, cronexpr="0 0 0 * * *", timeout=3600, enable=true
东东超市兑换奖品 = type=cron,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js, cronexpr="0 0 0 * * *", timeout=3600, enable=true
*/
const $ = new Env('京小超兑换奖品');
const $ = new Env('东东超市兑换奖品');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
@@ -317,7 +317,7 @@ function smtgHome() {
$.get(taskUrl('smtg_home'), (err, resp, data) => {
try {
if (err) {
console.log('\n京小超兑换奖品: API查询请求失败 ‼️‼️')
console.log('\n东东超市兑换奖品: API查询请求失败 ‼️‼️')
console.log(JSON.stringify(err));
} else {
if (safeGet(data)) {