mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-28 22:08:45 +08:00
update
This commit is contained in:
parent
c0b0b2d927
commit
229727d4b1
14
jd_1464.js
14
jd_1464.js
File diff suppressed because one or more lines are too long
36
jd_AJYX.js
36
jd_AJYX.js
File diff suppressed because one or more lines are too long
@ -123,7 +123,7 @@ let strGuoqi="";
|
||||
let RemainMessage = '\n';
|
||||
RemainMessage += "⭕活动攻略:⭕" + '\n';
|
||||
RemainMessage += '【点点券】京东->首页领券->中间位置瓜分点点券的签到->再领价值XXX的红包\n';
|
||||
RemainMessage += '【极速金币】京东极速版->我的->金币(极速版使用)\n';
|
||||
RemainMessage += '【特价金币】京东特价版->我的->金币(特价版使用)\n';
|
||||
RemainMessage += '【京东赚赚】微信->京东赚赚小程序->底部赚好礼->提现无门槛红包(京东使用)\n';
|
||||
RemainMessage += '【领现金】京东->搜索领现金(微信提现+京东红包)\n';
|
||||
RemainMessage += '【东东农场】京东->我的->东东农场,完成是京东红包,可以用于京东app的任意商品\n';
|
||||
@ -257,11 +257,11 @@ if(DisableIndex!=-1){
|
||||
EnableJdFruit=false;
|
||||
}
|
||||
|
||||
//极速金币
|
||||
//特价金币
|
||||
let EnableJdSpeed=true;
|
||||
DisableIndex = strDisableList.findIndex((item) => item === "极速金币");
|
||||
if(DisableIndex!=-1){
|
||||
console.log("检测到设定关闭极速金币查询");
|
||||
console.log("检测到设定关闭特价金币查询");
|
||||
EnableJdSpeed=false;
|
||||
}
|
||||
|
||||
@ -485,7 +485,7 @@ if(DisableIndex!=-1){
|
||||
await Promise.all([
|
||||
getJoyBaseInfo(), //汪汪乐园
|
||||
getJdZZ(), //京东赚赚
|
||||
cash(), //极速金币
|
||||
cash(), //特价金币
|
||||
jdJxMCinfo(), //京喜牧场
|
||||
bean(), //京豆查询
|
||||
getDdFactoryInfo(), // 京东工厂
|
||||
@ -848,7 +848,7 @@ async function showMsg() {
|
||||
ReturnMessage += `【京喜牧场】${$.JDEggcnt}枚鸡蛋\n`;
|
||||
}
|
||||
if ($.JDtotalcash) {
|
||||
ReturnMessage += `【极速金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`;
|
||||
ReturnMessage += `【特价金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`;
|
||||
}
|
||||
if ($.JdzzNum) {
|
||||
ReturnMessage += `【京东赚赚】${$.JdzzNum}币(≈${($.JdzzNum / 10000).toFixed(2)}元)\n`;
|
||||
@ -1721,7 +1721,7 @@ function redPacket() {
|
||||
if ($.jxRed > 0)
|
||||
$.message += `【京喜红包】${$.jxRed}(将过期${$.jxRedExpire.toFixed(2)})元 \n`;
|
||||
if ($.jsRed > 0)
|
||||
$.message += `【极速红包】${$.jsRed}(将过期${$.jsRedExpire.toFixed(2)})元 \n`;
|
||||
$.message += `【特价红包】${$.jsRed}(将过期${$.jsRedExpire.toFixed(2)})元 \n`;
|
||||
if ($.jdRed > 0)
|
||||
$.message += `【京东红包】${$.jdRed}(将过期${$.jdRedExpire.toFixed(2)})元 \n`;
|
||||
if ($.jdhRed > 0)
|
||||
|
@ -67,7 +67,7 @@ async function run() {
|
||||
try{
|
||||
$.taskList = [];
|
||||
await takePostRequest('beanTaskList')
|
||||
// await takePostRequest('morningGetBean')
|
||||
await takePostRequest('signBeanAct')
|
||||
console.log(`做任务\n`);
|
||||
if($.viewAppHome && $.viewAppHome.takenTask == false){
|
||||
$.IconDoTaskFlag = 0
|
||||
@ -146,6 +146,10 @@ async function takePostRequest(type) {
|
||||
body = `{"fp":"-1","shshshfp":"-1","shshshfpa":"-1","referUrl":"-1","userAgent":"-1","jda":"-1","rnVersion":"3.9"}`;
|
||||
myRequest = await getGetRequest(`morningGetBean`, escape(body));
|
||||
break;
|
||||
case 'signBeanAct':
|
||||
body = `{"fp":"-1","shshshfp":"-1","shshshfpa":"-1","referUrl":"-1","userAgent":"-1","jda":"-1","rnVersion":"3.9"}`;
|
||||
myRequest = await getGetRequest(`signBeanAct`, escape(body));
|
||||
break;
|
||||
default:
|
||||
console.log(`错误${type}`);
|
||||
}
|
||||
@ -217,6 +221,21 @@ async function dealReturn(type, res) {
|
||||
} else {
|
||||
console.log(res);
|
||||
}
|
||||
break;
|
||||
case 'signBeanAct':
|
||||
if (data.code == 0 && data.data) {
|
||||
if (data.data.status==1){
|
||||
console.log(`获得:${data.data.dailyAward.beanAward.beanCount || 0}京豆`)
|
||||
$.bean += Number(data.data.dailyAward.beanAward.beanCount) || 0
|
||||
} else {
|
||||
if (data.data.dailyAward)
|
||||
console.log(data.data.dailyAward.title+`获得:${data.data.dailyAward.beanAward.beanCount || 0}京豆`)
|
||||
else
|
||||
console.log(data)
|
||||
}
|
||||
}else {
|
||||
console.log(res);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
console.log(`未判断的异常${type}`);
|
26
jd_mnyyn.js
26
jd_mnyyn.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user