mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 23:35:02 +08:00
广汽传祺:优化流程
This commit is contained in:
@@ -197,8 +197,10 @@ class UserInfo {
|
|||||||
if (this.signInStatus == false) {
|
if (this.signInStatus == false) {
|
||||||
await this._signIn()
|
await this._signIn()
|
||||||
}
|
}
|
||||||
console.log(`正在远程获取15条随机评论~请等待15-20秒`)
|
if (process.env["gacmotorPost"] == "true" || process.env["gacmotorComment"] == "true") {
|
||||||
await this._getText()
|
console.log(`正在远程获取15条随机评论~请等待15-20秒`)
|
||||||
|
await this._getText()
|
||||||
|
}
|
||||||
if (process.env["gacmotorPost"] == "true") {
|
if (process.env["gacmotorPost"] == "true") {
|
||||||
console.log(`已设置发帖功能`);
|
console.log(`已设置发帖功能`);
|
||||||
await this._post(this.titleList[0], this.contentList[0])//可能需要图片
|
await this._post(this.titleList[0], this.contentList[0])//可能需要图片
|
||||||
@@ -232,6 +234,7 @@ class UserInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
await this._getChinaTime()
|
await this._getChinaTime()
|
||||||
|
console.log(`11/26截止 做广州车站活动 `);
|
||||||
if (this.BeiJingTime < 1701014400000) {
|
if (this.BeiJingTime < 1701014400000) {
|
||||||
//11/26截至
|
//11/26截至
|
||||||
//做广州车站活动
|
//做广州车站活动
|
||||||
@@ -345,7 +348,7 @@ class UserInfo {
|
|||||||
body: `taskId=${taskId}&companyCode=CHUANQI&phone=${this.mobile}`
|
body: `taskId=${taskId}&companyCode=CHUANQI&phone=${this.mobile}`
|
||||||
}
|
}
|
||||||
let { body: result } = await httpRequest(options);
|
let { body: result } = await httpRequest(options);
|
||||||
console.log(options);
|
//console.log(options);
|
||||||
result = JSON.parse(result);
|
result = JSON.parse(result);
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.errorCode == "0") {
|
if (result.errorCode == "0") {
|
||||||
|
|||||||
Reference in New Issue
Block a user