mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Merge branch 'shufflewzc:main' into main
This commit is contained in:
commit
e0dabc557d
1
function/cache/index.js
vendored
Normal file
1
function/cache/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
function/krgetToken.js
Normal file
1
function/krgetToken.js
Normal file
File diff suppressed because one or more lines are too long
2085
function/sign_graphics_validate.js
Normal file
2085
function/sign_graphics_validate.js
Normal file
File diff suppressed because it is too large
Load Diff
80
jd_dpqd.js
80
jd_dpqd.js
@ -1,17 +1,50 @@
|
|||||||
/*
|
/*
|
||||||
店铺签到,各类店铺签到,有新的店铺直接添加token即可
|
cron 45 0 0,23 * * * jd_dpqd.js
|
||||||
============Quantumultx===============
|
店铺签到,店铺Token默认从本地环境变量DPQDTK中获取,若本地无则从远端获取。
|
||||||
[task_local]
|
|
||||||
#店铺签到
|
Fix by HarbourJ
|
||||||
15 2,14 * * * https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_shop_sign.js, tag=店铺签到, enabled=true
|
TG: https://t.me/HarbourToulu
|
||||||
===========Loon============
|
|
||||||
[Script]
|
环境变量:
|
||||||
cron "15 2,14 * * *" script-path=https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_shop_sign.js,tag=店铺签到
|
DPQDTK: token1&token2
|
||||||
============Surge=============
|
仓库不再提供token
|
||||||
店铺签到 = type=cron,cronexp="15 2,14 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_shop_sign.js
|
|
||||||
===========小火箭========
|
|
||||||
店铺签到 = type=cron,script-path=https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_shop_sign.jss, cronexpr="15 2,14 * * *", timeout=3600, enable=true
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
let token = []
|
||||||
|
if (process.env.DPQDTK) {
|
||||||
|
if (process.env.DPQDTK.includes('\n')) {
|
||||||
|
token = [...process.env.DPQDTK.split('\n'),...token]
|
||||||
|
} else {
|
||||||
|
token = [...process.env.DPQDTK.split('&'),...token]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!token.length) {
|
||||||
|
console.log('无本地店铺签到token, 尝试获取远端店铺签到token')
|
||||||
|
token = [
|
||||||
|
'EEE3CE0E98CAA371BF548D1A78A88D46',
|
||||||
|
'0903CFF8DCB8B5A701D911BEEBF285F3',
|
||||||
|
'B555EE1A9313D0DFD3074C2DE96604AC',
|
||||||
|
'D727A06C3B3DF203AF5D21510B771D07',
|
||||||
|
'466E9758EF90135CC36DDE1D804FA682',
|
||||||
|
'8BFBEC50A0469627A70E706579855B25',
|
||||||
|
'AF71DCCF9801F55C06D1EDB1E5D5C32A',
|
||||||
|
'19DB0FE23AA9DC4864A9375CB7526362',
|
||||||
|
'82052AC19BA3734BF2F5E7E91B283537',
|
||||||
|
'BCBF4EE738A35FFC62745CB7FD5FFE12',
|
||||||
|
'91DF93C32D9AA63043391C00C14431EE',
|
||||||
|
'EA2128634865A07EFBBAC88F995E0765',
|
||||||
|
'71DEC5804B8E333A9DAA0BF16EC6C8EB',
|
||||||
|
'62AF2584588CFE5CC26C8F3D6EBBEDD7',
|
||||||
|
'6F79CE75B2D272EBC34718C6C07CB63B',
|
||||||
|
'75196DED685B6BF6EB7B55FBD9E45A77',
|
||||||
|
'93C049896859A8BA43DF7AAEF841DA87',
|
||||||
|
'5E75F128888B2002D54A69A92BCE64AB',
|
||||||
|
'19DB0FE23AA9DC4864A9375CB7526362',
|
||||||
|
'AF71DCCF9801F55C06D1EDB1E5D5C32A',
|
||||||
|
]
|
||||||
|
}
|
||||||
|
console.log(token)
|
||||||
const $ = new Env('店铺签到');
|
const $ = new Env('店铺签到');
|
||||||
const notify = $.isNode() ? require('./sendNotify') : '';
|
const notify = $.isNode() ? require('./sendNotify') : '';
|
||||||
//Node.js用户请在jdCookie.js处填写京东ck;
|
//Node.js用户请在jdCookie.js处填写京东ck;
|
||||||
@ -24,27 +57,6 @@ let activityId=''
|
|||||||
let vender=''
|
let vender=''
|
||||||
let num=0
|
let num=0
|
||||||
let shopname=''
|
let shopname=''
|
||||||
const token = [
|
|
||||||
"7B5E686A0CAF1C144620A3FFE04AFF1E",
|
|
||||||
"A1577946DE409D3AC4B4FDCFF4681625",
|
|
||||||
"E0087463F85940305DCA705308208EBB",
|
|
||||||
"773D63918C47D32F33DDB2FB78C5820A",
|
|
||||||
"35161A49032726A1A48E435DD2874114",
|
|
||||||
"DA71409388CE531378225A6BBF96CDFE",
|
|
||||||
"8C7A8DEAB8A6C8AC98EEE364EBB10F7A",
|
|
||||||
"A6D7A29DB6C46B7D3F7CD6EC3AE110C6",
|
|
||||||
"0723E3DF2F763B43B1DB432F7AD289B6",
|
|
||||||
"30D17316E31067004ED239DE9F121B0D",
|
|
||||||
"D2FD664F00F8AC944EEA5CEF35240807",
|
|
||||||
"4E4B5F141AADE9638771B6226AD426D0",
|
|
||||||
"97B7FF62FAFAD23A3224E0A954E54D30",
|
|
||||||
"8CC487234D54778E2F1C738C79B397BA",
|
|
||||||
"500B9537712BD828EFC8C4D036B9752A",
|
|
||||||
"12E0F8E3B60238F010D09F944543247B",
|
|
||||||
"96569C6643EC94DDCEEC05DADD5367BA",
|
|
||||||
"612AB059DEDF1AE49910BC575AEDF97B",
|
|
||||||
"4854A3FC0F4E9CFD23D48BB36B0F98A9"
|
|
||||||
]
|
|
||||||
|
|
||||||
if ($.isNode()) {
|
if ($.isNode()) {
|
||||||
Object.keys(jdCookieNode).forEach((item) => {
|
Object.keys(jdCookieNode).forEach((item) => {
|
||||||
@ -74,7 +86,7 @@ if ($.isNode()) {
|
|||||||
$.isLogin = true;
|
$.isLogin = true;
|
||||||
$.nickName = '';
|
$.nickName = '';
|
||||||
message = '';
|
message = '';
|
||||||
//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/bean/signIndex.action`, {"open-url": "https://bean.m.jd.com/bean/signIndex.action"});
|
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`, {"open-url": "https://bean.m.jd.com/bean/signIndex.action"});
|
||||||
|
File diff suppressed because one or more lines are too long
28
jd_lzaddCart.js
Normal file
28
jd_lzaddCart.js
Normal file
File diff suppressed because one or more lines are too long
25
jd_lzdz1_customizedd.js
Normal file
25
jd_lzdz1_customizedd.js
Normal file
File diff suppressed because one or more lines are too long
@ -30,8 +30,8 @@ let errorNum = 0
|
|||||||
let JD_API_HOST = 'https://sendbeans.jd.com'
|
let JD_API_HOST = 'https://sendbeans.jd.com'
|
||||||
const turnTableId = [
|
const turnTableId = [
|
||||||
{ "name": "翻牌", "id": 1082, "shopid": 1000004123, "url": "https://sendbeans.jd.com/jump/index/" },
|
{ "name": "翻牌", "id": 1082, "shopid": 1000004123, "url": "https://sendbeans.jd.com/jump/index/" },
|
||||||
{ "name": "翻牌", "id": 815, "shopid": 887726, "url": "https://sendbeans.jd.com/jump/index/" },
|
//{ "name": "翻牌", "id": 815, "shopid": 887726, "url": "https://sendbeans.jd.com/jump/index/" },
|
||||||
//{ "name": "翻牌", "id": 1419, "shopid": 1000007205, "url": "https://sendbeans.jd.com/jump/index/" },
|
{ "name": "翻牌", "id": 1440, "shopid": 1000005670, "url": "https://sendbeans.jd.com/jump/index/" },
|
||||||
]
|
]
|
||||||
|
|
||||||
!(async () => {
|
!(async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user