哈弗智家:修复BUG

This commit is contained in:
smallfawn
2023-01-29 16:23:40 +08:00
committed by GitHub
parent 2aa60704af
commit fcdfe973e9

View File

@@ -112,11 +112,11 @@ class UserInfo {
Headers['bt-auth-timestamp'] = this.ts
Headers['bt-auth-sign'] = await this.getSign('GET', url, this.nonce, this.ts, data)
let options = {
url: `https://gw-app.beantechyun.com` + url,
url: `https://gw-app.beantechyun.com` + url + '?' + data,
headers: Headers
}
options = changeCode(options) //把某软件生成的代码(request或axios或jquery)转换为got通用
//console.log(options);
console.log(options);
let result = await httpRequest(options);
//console.log(result);
if (result.code == '000000') {