mirror of
https://github.com/lan-tianxiang/clone_scripts.git
synced 2026-04-10 15:06:18 +08:00
更新于 07-20 03:31
This commit is contained in:
7
AuthorCode/wealth_island.json
Executable file
7
AuthorCode/wealth_island.json
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
[
|
||||||
|
"1171AA00CA6E5BE1D46E124F83095A95E635B95357E642AC3B057DBE8BEAFC22",
|
||||||
|
"F45D509AF300818D11AE0234B6F127A0F87F0018C1F5660D256560ABC1DC8714",
|
||||||
|
"FD5574925E10FBC6A8B5A23FC6CFFA7F932A89278D58545CC51FCE229FF8F8C7",
|
||||||
|
"C88BA90B05A6517B9AF99626517A2B67BAE94FD21B1DFAAD2A8F43B8E80D2D92",
|
||||||
|
"E94B9CECAB5EF42738E021B76DF5FFC49420DF3FF88EF046DAFF0884F5C669AB"
|
||||||
|
]
|
||||||
@@ -119,9 +119,35 @@ function TotalBean(cookie: string) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function requireConfig() {
|
||||||
|
let cookiesArr: string[] = []
|
||||||
|
return new Promise(resolve => {
|
||||||
|
console.log('开始获取配置文件\n')
|
||||||
|
const jdCookieNode = require('./jdCookie.js');
|
||||||
|
Object.keys(jdCookieNode).forEach((item) => {
|
||||||
|
if (jdCookieNode[item]) {
|
||||||
|
cookiesArr.push(jdCookieNode[item])
|
||||||
|
}
|
||||||
|
})
|
||||||
|
console.log(`共${cookiesArr.length}个京东账号\n`)
|
||||||
|
resolve(cookiesArr)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
function wait(t: number) {
|
||||||
|
return new Promise<void>(resolve => {
|
||||||
|
setTimeout(() => {
|
||||||
|
resolve()
|
||||||
|
}, t)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export default USER_AGENT
|
export default USER_AGENT
|
||||||
export {
|
export {
|
||||||
TotalBean,
|
TotalBean,
|
||||||
getBeanShareCode,
|
getBeanShareCode,
|
||||||
getFarmShareCode,
|
getFarmShareCode,
|
||||||
|
requireConfig,
|
||||||
|
wait,
|
||||||
|
getRandomNumberByRange
|
||||||
}
|
}
|
||||||
1631
sendNotify.js
1631
sendNotify.js
File diff suppressed because one or more lines are too long
10
tool/account.json
Executable file
10
tool/account.json
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"pt_pin": "CK中pt_pin的值",
|
||||||
|
"remarks": "备注"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pt_pin": "jd_abcdef",
|
||||||
|
"remarks": "二奶"
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user