mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 23:35:02 +08:00
Update dwnc.js
This commit is contained in:
14
dwnc.js
14
dwnc.js
@@ -73,6 +73,14 @@ async function start() {
|
|||||||
//await wait(1); //延迟
|
//await wait(1); //延迟
|
||||||
}
|
}
|
||||||
await Promise.all(taskall);
|
await Promise.all(taskall);
|
||||||
|
console.log('\n================== 浇水 ==================\n');
|
||||||
|
taskall = [];
|
||||||
|
for (let user of userList) {
|
||||||
|
await $.wait(3000)
|
||||||
|
taskall.push(await user.user_info());
|
||||||
|
//await wait(1); //延迟
|
||||||
|
}
|
||||||
|
await Promise.all(taskall);
|
||||||
taskall = [];
|
taskall = [];
|
||||||
for (let user of userList) {
|
for (let user of userList) {
|
||||||
await $.wait(3000)
|
await $.wait(3000)
|
||||||
@@ -513,11 +521,11 @@ class UserInfo {
|
|||||||
if (result.code == 200) {
|
if (result.code == 200) {
|
||||||
DoubleLog(`账号[${this.index}] 领取任务奖励[${result.msg}][${result.data.num}g]`);
|
DoubleLog(`账号[${this.index}] 领取任务奖励[${result.msg}][${result.data.num}g]`);
|
||||||
} else if (result.code == 711020001) {
|
} else if (result.code == 711020001) {
|
||||||
DoubleLog(`账号[${this.index}] 领取[${result.msg}]`);
|
//DoubleLog(`账号[${this.index}] 领取[${result.msg}]`);
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
} else {
|
} else {
|
||||||
DoubleLog(`账号[${this.index}] 领取[${result.msg}]`);
|
DoubleLog(`账号[${this.index}] 领取[${result.msg}]`);
|
||||||
console.log(result);
|
//console.log(result);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@@ -637,7 +645,7 @@ class UserInfo {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: 'https://app.dewu.com/hacking-tree/v1/keyword/gen?sign=fe26befc49444d362c8f17463630bdba',
|
url: 'https://app.dewu.com/hacking-tree/v1/keyword/gen?sign=fe26befc49444d362c8f17463630bdba',
|
||||||
headers: this.headersPost,
|
headers: this.headersPost,
|
||||||
body: '',
|
body: JSON.stringify({}),
|
||||||
|
|
||||||
};
|
};
|
||||||
//console.log(options);
|
//console.log(options);
|
||||||
|
|||||||
Reference in New Issue
Block a user