修复几个循环bug ,关闭默认debug模式了

This commit is contained in:
yml2213
2022-04-01 10:18:25 +08:00
parent 2029805ff3
commit 9c312f65c2
+10 -10
View File
@@ -99,13 +99,13 @@ let choose_gold_num = 1;
console.log(`\n 【debug】 这是你第 ${num} 账号信息:\n ck:${ck}\n`);
}
// console.log('开始 【获取首页图标】');
// await polling_info(ck);
// await $.wait(2 * 1000);
console.log('开始 【获取首页图标】');
await polling_info(ck);
await $.wait(2 * 1000);
// console.log('开始 【获取任务列表】');
// await tasks_list(ck);
// await $.wait(2 * 1000);
console.log('开始 【获取任务列表】');
await tasks_list(ck);
await $.wait(2 * 1000);
console.log('开始 【戳鸭子】');
@@ -113,9 +113,9 @@ let choose_gold_num = 1;
await $.wait(2 * 1000);
// console.log('开始 【浇水】');
// await watering(ck);
// await $.wait(2 * 1000);
console.log('开始 【浇水】');
await watering(ck);
await $.wait(2 * 1000);
await SendMsg(msg);
}
@@ -512,7 +512,7 @@ function touch_Duck(ck, timeout = 3 * 1000) {
$.get(request_url, async (error, response, data) => {
try {
if (1) {
if (debug) {
console.log(`\n\n 【debug】===============这是 戳鸭子 返回data==============`);
console.log(data)
console.log(`======`)