From b7ac8afa180ad4e154f5895af056825ea6c307c2 Mon Sep 17 00:00:00 2001 From: liangho-ng <1330326873@qq.com> Date: Thu, 7 Nov 2024 00:35:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dhandler=E7=BC=BA=E5=B0=91?= =?UTF-8?q?data=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mysapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mysapi.js b/lib/mysapi.js index 773a124..2144809 100644 --- a/lib/mysapi.js +++ b/lib/mysapi.js @@ -374,7 +374,7 @@ export default class MysZZZApi extends MysApi { } } const result = await this.getData(type, data, cached); - const _data = await this.checkCode(result, type, {}); + const _data = await this.checkCode(result, type, data); if (!_data || _data.retcode !== 0) return false; return _data.data; }