mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
fix_2
This commit is contained in:
parent
273df2a6f7
commit
048670fe24
11
main.js
11
main.js
@ -11,13 +11,14 @@ const {
|
||||
|
||||
const COOKIE_ARR = [COOKIE, COOKIE_2, COOKIE_3, COOKIE_4, COOKIE_5];
|
||||
|
||||
COOKIE_ARR.forEach((cookie, num) => {
|
||||
if (typeof cookie === 'undefined' && cookie === '') return;
|
||||
setGlobalVar(cookie, SCKEY).then(async () => {
|
||||
COOKIE_ARR.forEach(async (cookie, num) => {
|
||||
console.log(typeof cookie);
|
||||
if (typeof cookie === 'undefined') return;
|
||||
await setGlobalVar(cookie, SCKEY).then(async () => {
|
||||
const { start, isMe, checkCookie } = require("./lib/lottery-in-nodejs");
|
||||
const isRight = await checkCookie(num + 1);
|
||||
if (!isRight) return;
|
||||
isMe();
|
||||
start();
|
||||
await isMe();
|
||||
await start();
|
||||
})
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user