1
0
mirror of https://github.com/okyyds/yyds.git synced 2026-07-14 00:41:18 +08:00

Compare commits

...

5 Commits

Author SHA1 Message Date
ooo
d47fae11d1 赚钱大赢家 2022-12-05 12:05:24 +08:00
ooo
f61177b903 del 2022-12-05 11:25:28 +08:00
ooo
984c9bf243 del 2022-12-05 11:22:56 +08:00
ooo
b412afb9d2 组队通用瓜分 2022-12-05 11:18:58 +08:00
ooo
57a86d5160 决战12.12 足够精彩 2022-12-05 11:12:26 +08:00
6 changed files with 427 additions and 193 deletions

View File

@@ -11,8 +11,8 @@ const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
const notify = $.isNode() ? require('./sendNotify') : '';
let cookiesArr = [], cookie = '', message = '';
let activityList = [
{'activityId' : '49aad82a1afb4bd7b84eb6e79f633a67' ,'activityShopId' : '1000002527' , 'activityName':'欧乐b' , 'updateCaptainNum' : '2' , 'type' : '0'}, //0
{'activityId' : '9dfd1384e00a411cbd9e82a34cc8d803' ,'activityShopId' : '1000003691' , 'activityName':'安佳' , 'updateCaptainNum' : '2' , 'type' : '0'}, //1
{'activityId' : '5280930d84294555b7a1e61cb97ce9de' ,'activityShopId' : '1000014486' , 'activityName':'安佳' , 'updateCaptainNum' : '20', 'type' : '0'},
{'activityId' : 'd923d226bc734984a11d450912de6297' ,'activityShopId' : '1000002527' , 'activityName':'新安怡' , 'updateCaptainNum' : '20', 'type' : '0'},
]
let activityNum = process.env.captian_id ?? 0;
if ($.isNode()) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,17 +1,22 @@
/*
https://raw.githubusercontent.com/6dylan6/jdpro/main/jd_makemoneyshop.js
京东特价APP首页-赚钱大赢家
进APP看看能不能进去基本都黑的
有的能进去,助力确是黑的!!
默认定时不跑!
运行流程:设置助力码--过滤黑号--助力--领取任务奖励!!!
助理吗变量:多个用&号隔开
DYJSHAREID = 'xxx&xxx&xxx'
修改来自 https://raw.githubusercontent.com/6dylan6/jdpro/main/jd_makemoneyshop.js
By: https://github.com/6dylan6/jdpro
7 7 7 7 7 jd_makemoneyshop_auto.js
默认只助力 ck1
*/
*/
const $ = new Env('特价版大赢家-自动ck1');
const $ = new Env('特价版大赢家自动车头版');
const notify = $.isNode() ? require('./sendNotify') : '';
const jdCookieNode = $.isNode() ? require('./jdCookieC.js') : '';
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
//IOS等用户直接用NobyDa的jd cookie
let cookiesArr = [], cookie = '';
let shareId = [];
@@ -29,6 +34,8 @@ let helpinfo = {};
$.msg($.name, '【提示】请先获取京东账号一cookie\n直接使用NobyDa的京东签到获取', 'https://bean.m.jd.com/bean/signIndex.action', { "open-url": "https://bean.m.jd.com/bean/signIndex.action" });
return;
}
$.ADID = getUUID("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", 1);
$.UUID = getUUID("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
for (let i = 0; i < 1; i++) {
if (cookiesArr[i]) {
cookie = cookiesArr[i];
@@ -143,23 +150,31 @@ function getUUID(format = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UpperCase
});
}
function getinfo(xc) {
let opt = {
url: `https://api.m.jd.com/api?g_ty=h5&g_tk=&appCode=msc588d6d5&body=%7B%22activeId%22%3A%2263526d8f5fe613a6adb48f03%22%2C%22isFirst%22%3A1%2C%22operType%22%3A1%7D&appid=jdlt_h5&client=jxh5&functionId=makemoneyshop_home&clientVersion=1.2.5&h5st=20221202224421183%3B5zi6yg6hy6dijtc6%3B638ee%3Btk02waef91cf118n77Hw3bHueBsVVy52Wbcx9h4HMPM7fpi9ntRoot7vaa118bRqqEnduYVLqW8kyzHpNsDp5PtrZ8tJ%3B8e13afd153316da1c4878705d9e1f17b27db283c%3B400%3B1669992261183%3Bf28308408a6bad45ead939c02e9cf1e489ad7a120db68c73bdee607bdb6db9daaf6fd9e2d4b87320f4ec869d11fb7fa97ea7bffc29059dfb373214547287d0a2f8d2de03200d84c4776d0464313a08e3488339db94ee9194cfb8237a7678d9020d0c6d9df83ea6c18193626f396ff6f9d41ff0a831b19868640ee15d264ac55bdd144f2a8323f8168cb761f298ab19b00bc20f917401a5f65df079011591dba83f9ee65e3fc211cbadb9211443680603&loginType=2&sceneval=2`,
headers: {
'Origin': 'https://wq.jd.com',
'Referer': 'https://wqs.jd.com/',
'User-Agent': UA,
'Cookie': cookie
}
};
return new Promise(async (resolve) => {
$.get(taskUrl('makemoneyshop/home', 'activeId=63526d8f5fe613a6adb48f03&_stk=activeId&_ste=1'), async (err, resp, data) => {
$.get(opt, async (err, resp, data) => {
try {
if (err) {
console.log(`${JSON.stringify(err)}`)
console.log(` API请求失败请检查网路重试`)
} else {
let tostr = data.match(/\((\{.*?\})\)/)[1];
data = eval('(' + tostr + ')');
// let tostr = data.match(/\((\{.*?\})\)/)[1];
// data = eval('(' + tostr + ')');
data = JSON.parse(data);
if (data.code == 0) {
if (xc) {
let sId = data.data.shareId;
//helpinfo[$.UserName].sId = `${sId}`;
console.log('助力码:' + sId);
console.log('当前营业金:' + data.data.canUseCoinAmount);
shareId.push(sId)
}
} else if (data.msg.indexOf('火爆') > -1) {
console.log('此CK可能黑了');
@@ -228,15 +243,24 @@ function Award(id) {
function help(shareid) {
let body = { "activeId": "63526d8f5fe613a6adb48f03", "shareId": `${shareid}`, "operType": 1 };
let opt = {
url: `https://api.m.jd.com/api?g_ty=h5&g_tk=&appCode=msc588d6d5&body=${encodeURIComponent(JSON.stringify(body))}&appid=jdlt_h5&client=jxh5&functionId=makemoneyshop_guesthelp&clientVersion=1.2.5&h5st=&loginType=2&sceneval=2`,
headers: {
'Origin': 'https://wq.jd.com',
'Referer': 'https://wqs.jd.com/',
'User-Agent': UA,
'Cookie': cookie
}
}
return new Promise(async (resolve) => {
$.get(taskUrl('makemoneyshop/guesthelp', `activeId=63526d8f5fe613a6adb48f03&shareId=${shareid}&_stk=activeId,shareId&_ste=1`), async (err, resp, data) => {
$.get(opt, async (err, resp, data) => {
try {
if (err) {
console.log(`${JSON.stringify(err)}`)
console.log(` API请求失败请检查网路重试`)
} else {
let tostr = data.match(/\((\{.*?\})\)/)[1];
data = eval('(' + tostr + ')');
data = JSON.parse(data);
if (data.code == 0) {
console.log('助力成功!');
helpinfo[$.UserName].nohelp = 1;
@@ -272,7 +296,7 @@ function taskUrl(fn, body) {
url: `https://wq.jd.com/${fn}?g_ty=h5&g_tk=&appCode=msc588d6d5&${body}&h5st=&sceneval=2&callback=__jsonp1667344808184`,
headers: {
'Origin': 'https://wq.jd.com',
'Referer': 'https://wqs.jd.com/sns/202210/20/make-money-shop/index.html?activeId=63526d8f5fe613a6adb48f03',
'Referer': 'https://wqs.jd.com/',
'User-Agent': UA,
'Cookie': cookie
}

205
jd_makemoneyshop_award.js Normal file

File diff suppressed because one or more lines are too long