Update jlqc.js

This commit is contained in:
smallfawn
2023-05-24 21:40:21 +08:00
committed by GitHub
parent 53bea38aa9
commit 909884f27a

View File

@@ -186,12 +186,12 @@ class UserInfo {
}
async task_sign() { // 执行签到
var date = new Date(+new Date()+8*3600*1000).toISOString().replace(/T/g,' ').replace(/\.[\d]{3}Z/,'')
var date = new Date(+new Date() + 8 * 3600 * 1000).toISOString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '')
try {
const options = {
url: 'https://app.geely.com/api/v1/userSign/sign/',
headers: this.headersPostv1,
body: JSON.stringify({"signDate": date}),
body: JSON.stringify({ "signDate": date, "ts": Date.now(), "cId": "BLqo2nmmoPgGuJtFDWlUjRI2b1b" }),
};
//console.log(options);
let result = await httpRequest(options);