JD: 添加晚市补贴接口

This commit is contained in:
NobyDa 2020-08-09 17:14:20 +08:00
parent 5c236a74d1
commit 54bd5583f8
2 changed files with 10 additions and 4 deletions

View File

@ -2,8 +2,8 @@
京东多合一签到脚本
更新时间: 2020.8.3 21:50 v1.37 (Beta)
有效接口: 24+
更新时间: 2020.8.9 17:00 v1.38 (Beta)
有效接口: 25+
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
电报频道: @NobyDa
问题反馈: @NobyDa_bot
@ -115,6 +115,7 @@ async function all() {
JingDongShake(stop) //京东摇一摇
]);
await Promise.all([
JDUserSignPre(stop, 'JDSubsidy', '京东晚市-补贴'), //京东晚市补贴金
JDUserSignPre(stop, 'JDClocks', '京东商城-钟表'), //京东钟表馆
JDUserSignPre(stop, 'JDDrug', '京东商城-医药'), //京东医药馆
JDUserSignPre(stop, 'JDVege', '京东商城-菜场'), //京东菜场
@ -135,6 +136,7 @@ async function all() {
await JingRongDoll(stop); //金融抓娃娃
await JingRongSteel(stop); //金融钢镚
await JingDongTurn(stop); //京东转盘
await JDUserSignPre(stop, 'JDSubsidy', '京东晚市-补贴'); //京东晚市补贴金
await JDUserSignPre(stop, 'JDClocks', '京东商城-钟表'); //京东钟表馆
await JDUserSignPre(stop, 'JDDrug', '京东商城-医药'); //京东医药馆
await JDUserSignPre(stop, 'JDGStore', '京东商城-超市'); //京东超市
@ -1947,7 +1949,7 @@ function disable(Val, name, way) {
const read = $nobyda.read("JD_DailyBonusDisables")
const annal = $nobyda.read("JD_Crash_" + Val)
const boxds = $nobyda.read("JD_Crash_disable") === "false" ? false : true
const old = (Val == "JDDrug" || Val == "JDClocks" || way == 2) ? false : move(Val, read, 0)
const old = (Val == "JDSubsidy" || Val == "JDDrug" || Val == "JDClocks" || way == 2) ? false : move(Val, read, 0)
if (annal && way == 1 && boxds) {
var Crash = $nobyda.write("", "JD_Crash_" + Val)
if (read) {
@ -1999,6 +2001,8 @@ function move(ValKey, NewKey, DelOld) {
function initial() {
acData = {
// 京东晚市-补贴
JDSubsidy: 'xK148m4kWj5hBcTPuJUNNXH3AkJ',
// 京东商城-钟表
JDClocks: '2BcJPCVVzMEtMUynXkPscCSsx68W',
// 京东商城-医药
@ -2035,6 +2039,7 @@ function initial() {
JRDSign: {},
JDGStore: {},
JDPet: {},
JDSubsidy: {},
JDDrug: {},
JDClocks: {},
JDFSale: {},

View File

@ -35,6 +35,7 @@
{"key": "JDTurn","label": "京东转盘"},
{"key": "JDGStore","label": "京东超市"},
{"key": "JDDrug","label": "京东医药"},
{"key": "JDSubsidy","label": "京东晚市"},
{"key": "JDClocks","label": "京东钟表"},
{"key": "JDPet","label": "京东宠物"},
{"key": "JDFSale","label": "京东闪购"},
@ -131,7 +132,7 @@
"desc": "想签到几个汇总到一个通知里, 这里就填几个(比如我有13个要签到的, 这里填了5, 就会分三次推送通知)"
}],
"script": "https://raw.githubusercontent.com/NobyDa/Script/master/BDTieBa-DailyBonus/TieBa.js",
"author": "@sazs34 (Original)",
"author": "@sazs34, @NobyDa",
"repo": "https://github.com/sazs34/TaskConfig/blob/master/task/sign_baidu_tieba_v2.js",
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/baidu.png","https://raw.githubusercontent.com/Orz-3/task/master/baidu.png"]
}, {