mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-21 21:24:12 +00:00
rain
This commit is contained in:
parent
6258569b8a
commit
78909a670f
@ -1,11 +1,13 @@
|
||||
/*
|
||||
整点京豆雨
|
||||
更新时间:2022-1-24
|
||||
|
||||
甘露殿-https://t.me/jdredrain
|
||||
|
||||
使用前自行设定整点京豆雨环境变量
|
||||
export jd_redrain_url="https://gitee.com/msewb/update/raw/master/redrain.json"
|
||||
|
||||
更新时间:2022-3-31
|
||||
脚本兼容: Quantumult X, Surge, Loon, JSBox, Node.js
|
||||
by:msechen
|
||||
github:https://github.com/msechen/jdrain
|
||||
频道:https://t.me/jdredrain
|
||||
交流群组:https://t.me/+xfWwiMAFonwzZDFl
|
||||
==============Quantumult X==============
|
||||
[task_local]
|
||||
#整点京豆雨
|
||||
@ -101,7 +103,7 @@ if ($.isNode()) {
|
||||
}
|
||||
}
|
||||
if (allMessage) {
|
||||
if ($.isNode()) await notify.sendNotify(`${$.name}`, `${allMessage}`);
|
||||
if ($.isNode()) await notify.sendNotify(`${$.name}`, `${allMessage}\n甘露殿【https://t.me/jdredrain】`);
|
||||
$.msg($.name, '', allMessage);
|
||||
}
|
||||
})()
|
||||
@ -175,10 +177,17 @@ function doInteractiveAssignment(encryptProjectId, encryptAssignmentId) {
|
||||
} else {
|
||||
if (safeGet(data)) {
|
||||
data = JSON.parse(data);
|
||||
<<<<<<< HEAD
|
||||
console.log(data);
|
||||
if (data.subCode == "0") {
|
||||
console.log(`${data.rewardsInfo.successRewards[3][0].quantity}京豆`);
|
||||
allMessage += `京东账号${$.index}${$.nickName || $.UserName}\n领取成功,获得【${data.rewardsInfo.successRewards[3][0].quantity}】京豆${$.index !== cookiesArr.length ? '\n\n' : ''}`;
|
||||
=======
|
||||
if (data.subCode == "0") {
|
||||
//console.log(`${data.rewardsInfo.successRewards[3][0].rewardName}`);
|
||||
message += `领取成功,获得 ${data.rewardsInfo.successRewards[3][0].rewardName}`
|
||||
allMessage += `京东账号${$.index}${$.nickName || $.UserName}\n领取成功,获得 ${data.rewardsInfo.successRewards[3][0].rewardName}${$.index !== cookiesArr.length ? '\n\n' : ''}`;
|
||||
>>>>>>> 69e2454bc59e9c82e511b6f469b90a55e18e21fd
|
||||
} else {
|
||||
console.log(data);
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
458
jd_share.js
Normal file
458
jd_share.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user