From f71cef6155252aea124f51e4089306086df9e6a4 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Fri, 17 Mar 2023 15:59:09 +0800 Subject: [PATCH] Update jlqc.js --- jlqc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jlqc.js b/jlqc.js index 3b294f7..f78ed70 100644 --- a/jlqc.js +++ b/jlqc.js @@ -182,11 +182,12 @@ class UserInfo { } async task_sign() { // 执行签到 + 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/user/sign/', headers: this.headersPostv1, - body: ``, + body: JSON.stringify({"signDate": date}), }; //console.log(options); let result = await httpRequest(options);