mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
Update dwnc.js
This commit is contained in:
5
dwnc.js
5
dwnc.js
@@ -85,8 +85,6 @@ async function start() {
|
||||
taskall.push(await user.task_true());
|
||||
//await wait(1); //延迟
|
||||
}
|
||||
await Promise.all(taskall);
|
||||
|
||||
await Promise.all(taskall);
|
||||
taskall = [];
|
||||
for (let user of userList) {
|
||||
@@ -96,7 +94,6 @@ async function start() {
|
||||
}
|
||||
await Promise.all(taskall);
|
||||
console.log('\n------------------- [进度] -------------------\n');
|
||||
|
||||
taskall = [];
|
||||
for (let user of userList) {
|
||||
await $.wait(3000)
|
||||
@@ -518,7 +515,7 @@ class UserInfo {
|
||||
let result = await httpRequest(options);
|
||||
//console.log(result);
|
||||
if (result.code == 200) {
|
||||
if('rewardNum' in result.data.wateringReward){
|
||||
if (result.data.wateringReward !== null) {
|
||||
DoubleLog(`账号[${this.index}] 浇水[${result.msg}][${result.data.wateringReward.rewardNum}g]`);
|
||||
} else {
|
||||
DoubleLog(`账号[${this.index}] 浇水[${result.msg}]`);
|
||||
|
||||
Reference in New Issue
Block a user