广汽传祺:修复评论

This commit is contained in:
smallfawn
2023-11-24 09:37:31 +08:00
committed by GitHub
parent aadc7a50c6
commit e51d716f32

View File

@@ -154,7 +154,7 @@ class UserInfo {
if (process.env["gacmotorComment"] == "true") { if (process.env["gacmotorComment"] == "true") {
console.log(`已设置评论功能`); console.log(`已设置评论功能`);
if (this.commentNotFinishedNum !== 0 && this.commentNotFinished >= 1) { if (this.commentNotFinishedNum !== 0 && this.commentNotFinishedNum >= 1) {
for (let postId of this.applatestlist) { for (let postId of this.applatestlist) {
await this._add(postId, this.titleList[0]) await this._add(postId, this.titleList[0])
} }
@@ -163,7 +163,7 @@ class UserInfo {
} }
if (process.env["gacmotorComment"] == "true") { if (process.env["gacmotorComment"] == "true") {
if (this.commentNotFinishedNum !== 0 && this.commentNotFinished >= 1) { if (this.commentNotFinishedNum !== 0 && this.commentNotFinishedNum >= 1) {
console.log(`等待15s`) console.log(`等待15s`)
await $.wait(15000) await $.wait(15000)
console.log(`检测评论列表`); console.log(`检测评论列表`);