add:广汽传祺年度报告抽奖

This commit is contained in:
To be rich
2024-01-17 21:42:52 +08:00
committed by GitHub
parent 9ffc05ae71
commit 53c88f307e

View File

@@ -3,7 +3,7 @@
* Show:广汽传祺 评论 分享(转发) 签到 发表文章
* @author https://github.com/smallfawn/QLScriptPublic
* @tips 本脚本适用于广汽传祺5.0.0以上的版本
* @update 2023/12/31 所有变量全部写到 脚本同目录下GacmotorCookies.json文件
* @update 2024/1/17 新增 广汽传祺年度报告抽奖
* 文件内基本格式 [{"AT":"","RT":""},{"AT":"","RT":""}] 仓库( https://ghproxy.smallfawn.top/https://raw.githubusercontent.com/smallfawn/QLScriptPublic/main/GacmotorCookies.json )里面有基本模板 使用前必须填写COOKIE
* 提供三种获取变量COOKIE方式
* 1.手动抓https://next.gacmotor.com/app
@@ -20,7 +20,7 @@ let GacmotorCookies = './GacmotorCookies.json';//指定文件目录
const $ = new Env("广汽传祺");
const notify = $.isNode() ? require('./sendNotify') : '';
//const { updateEnv11, getEnvs, updateEnv } = require("./ql")
const appVersion = "5.1.0"
const appVersion = "5.1.1"
//let ckName = "gacmotorToken";
//let envSplitor = ["@", "\n"]; //多账号分隔符
let strSplitor = "#"; //多变量分隔符
@@ -223,11 +223,13 @@ class UserInfo {
}
}
await this._activity_lotter_common({ "activityId": "531", "channel": "carapp_channel" })
//await this._getChinaTime()
/*console.log(`11/26截止 Do - 广州车展活动 奖品活动结束后14日内发放`);
if (this.BeiJingTime < 1701014400000) {
//{"activityId":"467","channel":"carapp_channel"}
await this._activity_lotter_common({ "activityId": "467", "channel": "carapp_channel" })
// await this._activity_lotter_common({ "activityId": "467", "channel": "carapp_channel" })
}*/
/*每天助力 gacmotorPower="" (抓这个需要手动做一次任务,我的-超级合伙人-每日任务-分享,微信自己点击自己分享的文章一次)
* 微信抓gmp.spgacmotorsc.com/partner/api-content/base/content/trafficStatistics?