广汽传祺

优化流程
This commit is contained in:
smallfawn
2023-11-22 17:42:39 +08:00
committed by GitHub
parent 157b6612fb
commit cc6a105165

View File

@@ -127,10 +127,13 @@ class UserInfo {
await this._signIn()
}
await this._taskList()
if (process.env["gacmotorPost"] == "true" || process.env["gacmotorComment"] == "true") {
console.log(`正在远程获取15条随机评论~请等待15-20秒`)
await this._getText()
if (this.postNotFinishedNum !== 0 && this.postNotFinishedNum > 1 || this.sharenNotFinishedNum !== 0 && this.sharenNotFinishedNum > 1) {
if (process.env["gacmotorPost"] == "true" || process.env["gacmotorComment"] == "true") {
console.log(`正在远程获取15条随机评论~请等待15-20秒`)
await this._getText()
}
}
if (process.env["gacmotorPost"] == "true") {
console.log(`已设置发帖功能`);
if (this.postNotFinishedNum !== 0 && this.postNotFinishedNum > 1) {