mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
哈弗智家:修复BUG
This commit is contained in:
4
hfzj.js
4
hfzj.js
@@ -112,11 +112,11 @@ class UserInfo {
|
|||||||
Headers['bt-auth-timestamp'] = this.ts
|
Headers['bt-auth-timestamp'] = this.ts
|
||||||
Headers['bt-auth-sign'] = await this.getSign('GET', url, this.nonce, this.ts, data)
|
Headers['bt-auth-sign'] = await this.getSign('GET', url, this.nonce, this.ts, data)
|
||||||
let options = {
|
let options = {
|
||||||
url: `https://gw-app.beantechyun.com` + url,
|
url: `https://gw-app.beantechyun.com` + url + '?' + data,
|
||||||
headers: Headers
|
headers: Headers
|
||||||
}
|
}
|
||||||
options = changeCode(options) //把某软件生成的代码(request或axios或jquery)转换为got通用
|
options = changeCode(options) //把某软件生成的代码(request或axios或jquery)转换为got通用
|
||||||
//console.log(options);
|
console.log(options);
|
||||||
let result = await httpRequest(options);
|
let result = await httpRequest(options);
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.code == '000000') {
|
if (result.code == '000000') {
|
||||||
|
|||||||
Reference in New Issue
Block a user