Skip to content

Commit 2bd82f1

Browse files
author
2024
committed
1
1 parent 37a2675 commit 2bd82f1

File tree

4 files changed

+10
-21
lines changed

4 files changed

+10
-21
lines changed

jd_bean_change.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ let RemainMessage = '\n';
3939
RemainMessage += "⭕提醒:⭕" + '\n';
4040
RemainMessage += '【特价金币】特价版APP->我的->金币(可兑换无门槛红包)\n';
4141
RemainMessage += '【话费积分】APP->充值中心-赚积分兑话费(180天效期)\n';
42-
RemainMessage += '【礼品卡额】APP->我的->礼品卡(包含E卡,品牌类卡,超市卡)\n';
4342
RemainMessage += '【超市卡】APP首页->京东超市->超市卡(超市商品可用)\n';
4443
RemainMessage += '【老农场】APP->我的->东东农场->回旧版,完成可兑换无门槛红包,可用于任意商品\n';
4544
RemainMessage += '【新农场】APP->我的->东东农场,完成可在记录里查看奖品\n';
@@ -399,7 +398,7 @@ var _0xodV='jsjiami.com.v7';const _0x482600=_0x38d7;(function(_0x56090f,_0x32c00
399398
TodayCache.push(tempAddCache);
400399
}
401400
await getjdfruitinfo(); //老农场
402-
await $.wait(1000);
401+
await $.wait(500);
403402
await fruitnew();
404403
//await checkplus();
405404
await Promise.all([
@@ -743,7 +742,7 @@ async function showMsg() {
743742
ReturnMessage += `【特价金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`;
744743
}
745744
if ($.ECardinfo)
746-
ReturnMessage += `【礼品卡额${$.ECardinfo}元\n`;
745+
ReturnMessage += `【京东 E卡${$.ECardinfo}元\n`;
747746

748747
if ($.JoyRunningAmount)
749748
ReturnMessage += `【汪汪赛跑】${$.JoyRunningAmount}元\n`;
@@ -2075,8 +2074,8 @@ function dwappexpire() {
20752074

20762075
function getek() {
20772076
let opt = {
2078-
url: `https://mygiftcard.jd.com/giftcard/queryChannelUserCard`,
2079-
//body: `appid=wh5&clientVersion=1.0.0&functionId=wanrentuan_superise_send&body={"channel":2}&area=2_2813_61130_0`,
2077+
url: `https://api.m.jd.com/api?functionId=queryChannelUserCard`,
2078+
body: `cthr=1&client=h5&clientVersion=&t=${Date.now()}&loginWQBiz=&appid=mygiftcard&functionId=queryChannelUserCard&body=null`,
20802079
headers: {
20812080
//'Host': 'api.m.jd.com',
20822081
'Origin': 'https://o.jd.com',
@@ -2086,16 +2085,15 @@ function getek() {
20862085
}
20872086
}
20882087
return new Promise(async (resolve) => {
2089-
$.get(opt, async (err, resp, data) => {
2088+
$.post(opt, async (err, resp, data) => {
20902089
try {
20912090
if (err) {
2092-
console.log(`getek请求失败!!!!`)
2091+
console.log(`getek请求失败!!`)
20932092
} else {
20942093
data = JSON.parse(data)
2095-
if (data.code == 000000) {
2094+
if (data.code == '000000') {
20962095
$.ECardinfo = Number(data.data.totalAmount);
20972096
} else {
2098-
console.log(data.msg)
20992097
}
21002098
}
21012099
} catch (e) {

jd_dplhbshop.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jd_health_task.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jd_tjlhb.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)