mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2026-01-13 05:20:43 +08:00
哈弗智家:修复BUG
This commit is contained in:
parent
2aa60704af
commit
fcdfe973e9
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') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user