From 0c5551526338b62c7b57e264128d1ab953f70f14 Mon Sep 17 00:00:00 2001 From: zlh-debug <3530766280@qq.com> Date: Sat, 8 Jul 2023 17:45:05 +0800 Subject: [PATCH] fixed bugs --- lib/core/base-client.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/core/base-client.ts b/lib/core/base-client.ts index d0be0e18..618a7779 100644 --- a/lib/core/base-client.ts +++ b/lib/core/base-client.ts @@ -325,13 +325,7 @@ export class BaseClient extends EventEmitter { let qImei36 = this.device.qImei36 || this.device.qImei16; if (qImei36 && this.apk.qua) { let url = new URL(this.sig.sign_addr); - let post_params = { - qua: this.apk.qua, - uin: this.uin, - cmd: cmd, - seq: seq, - buffer: body.toString('hex') - }; + let post_params = `qua=${this.apk.qua}&uin=${this.uin}&cmd=${cmd}&seq=${seq}&buffer=${body.toString('hex')}`; url.pathname = '/sign'; const {data} = await axios.post(url.href, post_params, { timeout: 10000,