mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 23:35:02 +08:00
海尔智家
This commit is contained in:
8
hezj.js
8
hezj.js
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* 海尔智佳
|
* 海尔智家
|
||||||
* cron 8 1 * * * hezj.js
|
* cron 8 1 * * * hezj.js
|
||||||
* 活动入口 首页 智慧小屋
|
* 活动入口 首页 智慧小屋
|
||||||
* 2023/03/18 修复BUG
|
* 2023/03/18 修复BUG
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
const $ = new Env("海尔智佳");
|
const $ = new Env("海尔智家");
|
||||||
const ckName = "hezj_data";
|
const ckName = "hezj_data";
|
||||||
//-------------------- 一般不动变量区域 -------------------------------------
|
//-------------------- 一般不动变量区域 -------------------------------------
|
||||||
const Notify = 1; //0为关闭通知,1为打开通知,默认为1
|
const Notify = 1; //0为关闭通知,1为打开通知,默认为1
|
||||||
@@ -177,11 +177,11 @@ class UserInfo {
|
|||||||
headers: this.headersPost,
|
headers: this.headersPost,
|
||||||
body: JSON.stringify({ "taskCode": taskCode, "sourceClient": 1 })
|
body: JSON.stringify({ "taskCode": taskCode, "sourceClient": 1 })
|
||||||
}
|
}
|
||||||
console.log(options);
|
//console.log(options);
|
||||||
let result = await httpRequest(options);
|
let result = await httpRequest(options);
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.retCode == '00000') {
|
if (result.retCode == '00000') {
|
||||||
DoubleLog(`账号[${this.index}] 任务执行成功: [${result.data.signinQueryDetailList[0].dailyDate}] [${result.data.signinQueryDetailList[1].dailyDate}] `);
|
DoubleLog(`账号[${this.index}] 任务执行成功: [${taskCode}] `);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
DoubleLog(`账号[${this.index}] 任务执行失效:,原因未知!`);
|
DoubleLog(`账号[${this.index}] 任务执行失效:,原因未知!`);
|
||||||
|
|||||||
Reference in New Issue
Block a user