mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-05-19 22:24:03 +08:00
1
This commit is contained in:
+7
-9
@@ -39,7 +39,6 @@ let RemainMessage = '\n';
|
|||||||
RemainMessage += "⭕提醒:⭕" + '\n';
|
RemainMessage += "⭕提醒:⭕" + '\n';
|
||||||
RemainMessage += '【特价金币】特价版APP->我的->金币(可兑换无门槛红包)\n';
|
RemainMessage += '【特价金币】特价版APP->我的->金币(可兑换无门槛红包)\n';
|
||||||
RemainMessage += '【话费积分】APP->充值中心-赚积分兑话费(180天效期)\n';
|
RemainMessage += '【话费积分】APP->充值中心-赚积分兑话费(180天效期)\n';
|
||||||
RemainMessage += '【礼品卡额】APP->我的->礼品卡(包含E卡,品牌类卡,超市卡)\n';
|
|
||||||
RemainMessage += '【超市卡】APP首页->京东超市->超市卡(超市商品可用)\n';
|
RemainMessage += '【超市卡】APP首页->京东超市->超市卡(超市商品可用)\n';
|
||||||
RemainMessage += '【老农场】APP->我的->东东农场->回旧版,完成可兑换无门槛红包,可用于任意商品\n';
|
RemainMessage += '【老农场】APP->我的->东东农场->回旧版,完成可兑换无门槛红包,可用于任意商品\n';
|
||||||
RemainMessage += '【新农场】APP->我的->东东农场,完成可在记录里查看奖品\n';
|
RemainMessage += '【新农场】APP->我的->东东农场,完成可在记录里查看奖品\n';
|
||||||
@@ -399,7 +398,7 @@ var _0xodV='jsjiami.com.v7';const _0x482600=_0x38d7;(function(_0x56090f,_0x32c00
|
|||||||
TodayCache.push(tempAddCache);
|
TodayCache.push(tempAddCache);
|
||||||
}
|
}
|
||||||
await getjdfruitinfo(); //老农场
|
await getjdfruitinfo(); //老农场
|
||||||
await $.wait(1000);
|
await $.wait(500);
|
||||||
await fruitnew();
|
await fruitnew();
|
||||||
//await checkplus();
|
//await checkplus();
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
@@ -743,7 +742,7 @@ async function showMsg() {
|
|||||||
ReturnMessage += `【特价金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`;
|
ReturnMessage += `【特价金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`;
|
||||||
}
|
}
|
||||||
if ($.ECardinfo)
|
if ($.ECardinfo)
|
||||||
ReturnMessage += `【礼品卡额】${$.ECardinfo}元\n`;
|
ReturnMessage += `【京东 E卡】${$.ECardinfo}元\n`;
|
||||||
|
|
||||||
if ($.JoyRunningAmount)
|
if ($.JoyRunningAmount)
|
||||||
ReturnMessage += `【汪汪赛跑】${$.JoyRunningAmount}元\n`;
|
ReturnMessage += `【汪汪赛跑】${$.JoyRunningAmount}元\n`;
|
||||||
@@ -2075,8 +2074,8 @@ function dwappexpire() {
|
|||||||
|
|
||||||
function getek() {
|
function getek() {
|
||||||
let opt = {
|
let opt = {
|
||||||
url: `https://mygiftcard.jd.com/giftcard/queryChannelUserCard`,
|
url: `https://api.m.jd.com/api?functionId=queryChannelUserCard`,
|
||||||
//body: `appid=wh5&clientVersion=1.0.0&functionId=wanrentuan_superise_send&body={"channel":2}&area=2_2813_61130_0`,
|
body: `cthr=1&client=h5&clientVersion=&t=${Date.now()}&loginWQBiz=&appid=mygiftcard&functionId=queryChannelUserCard&body=null`,
|
||||||
headers: {
|
headers: {
|
||||||
//'Host': 'api.m.jd.com',
|
//'Host': 'api.m.jd.com',
|
||||||
'Origin': 'https://o.jd.com',
|
'Origin': 'https://o.jd.com',
|
||||||
@@ -2086,16 +2085,15 @@ function getek() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new Promise(async (resolve) => {
|
return new Promise(async (resolve) => {
|
||||||
$.get(opt, async (err, resp, data) => {
|
$.post(opt, async (err, resp, data) => {
|
||||||
try {
|
try {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(`getek请求失败!!!!`)
|
console.log(`getek请求失败!!`)
|
||||||
} else {
|
} else {
|
||||||
data = JSON.parse(data)
|
data = JSON.parse(data)
|
||||||
if (data.code == 000000) {
|
if (data.code == '000000') {
|
||||||
$.ECardinfo = Number(data.data.totalAmount);
|
$.ECardinfo = Number(data.data.totalAmount);
|
||||||
} else {
|
} else {
|
||||||
console.log(data.msg)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user