From a6fb04ce581fc461ec08fb2f09a2bd73991ec9ab Mon Sep 17 00:00:00 2001 From: xcy <871622040@qq.com> Date: Fri, 15 Dec 2023 18:01:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/shouchong/ApiOpen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/event/shouchong/ApiOpen.ts b/src/api_s2c/event/shouchong/ApiOpen.ts index a93d02c..a6e69d3 100644 --- a/src/api_s2c/event/shouchong/ApiOpen.ts +++ b/src/api_s2c/event/shouchong/ApiOpen.ts @@ -10,5 +10,5 @@ export default async function (call: ApiCall) { let pays = await PayFun.getPayLogs(call.uid, payIds) - call.succ({payIds: Object.keys(pays)}); + call.succ({payIds: Object.keys(pays).filter((i) => pays[i].length > 0)}); } \ No newline at end of file