mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 10:58:44 +08:00
update
This commit is contained in:
parent
93457459b0
commit
d772fe425b
@ -3,12 +3,12 @@
|
|||||||
修复+尽量优化为同步执行,减少并发,说不定就减小黑号概率了呢?
|
修复+尽量优化为同步执行,减少并发,说不定就减小黑号概率了呢?
|
||||||
https://raw.githubusercontent.com/aTenb/jdOpenSharePicker/master/jd_beautyStudy.js
|
https://raw.githubusercontent.com/aTenb/jdOpenSharePicker/master/jd_beautyStudy.js
|
||||||
更新时间:2021-12-03
|
更新时间:2021-12-03
|
||||||
|
来源 Dylan
|
||||||
活动入口:京东app首页-美妆馆-底部中间按钮
|
活动入口:京东app首页-美妆馆-底部中间按钮
|
||||||
定时自定义,集中访问可能炸
|
定时自定义,集中访问可能炸
|
||||||
*/
|
*/
|
||||||
const $ = new Env('美丽研究院');
|
const $ = new Env('美丽研究院');
|
||||||
const notify = $.isNode() ? require('./sendNotify') : '';
|
const notify = $.isNode() ? require('./sendNotify') : '';
|
||||||
console.log('连接服务器不稳定,能不能用随缘!!!')
|
|
||||||
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
||||||
const WebSocket = require('ws');
|
const WebSocket = require('ws');
|
||||||
const UA = process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : (require('./USER_AGENTS').USER_AGENT)
|
const UA = process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : (require('./USER_AGENTS').USER_AGENT)
|
||||||
@ -50,7 +50,7 @@ const JD_API_HOST = 'https://api.m.jd.com/client.action';
|
|||||||
$.nickName = '';
|
$.nickName = '';
|
||||||
message = '';
|
message = '';
|
||||||
$.token = '';
|
$.token = '';
|
||||||
await TotalBean();
|
//await TotalBean();
|
||||||
console.log(`\n******开始【京东账号${$.index}】${$.nickName || $.UserName}*********\n`);
|
console.log(`\n******开始【京东账号${$.index}】${$.nickName || $.UserName}*********\n`);
|
||||||
if (!$.isLogin) {
|
if (!$.isLogin) {
|
||||||
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/`, {"open-url": "https://bean.m.jd.com/"});
|
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/`, {"open-url": "https://bean.m.jd.com/"});
|
||||||
@ -295,6 +295,7 @@ async function mr() {
|
|||||||
await $.wait(2500)
|
await $.wait(2500)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($.taskState.today_answered === 0) {
|
if ($.taskState.today_answered === 0) {
|
||||||
console.log(`去做每日问答任务`)
|
console.log(`去做每日问答任务`)
|
||||||
client.send(`{"msg":{"type":"action","args":{"source":1},"action":"get_question"}}`)
|
client.send(`{"msg":{"type":"action","args":{"source":1},"action":"get_question"}}`)
|
||||||
|
19
jd_txgzyl.js
19
jd_txgzyl.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user