From d7f0f22df7dfdd3c93c2a40ac70477343cfe7ac6 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Thu, 4 Jan 2024 21:05:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=99=E4=BC=B4=E6=8B=9B=E5=8B=9F?= =?UTF-8?q?=E7=BA=A2=E7=82=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/hongdian/fun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/hongdian/fun.ts b/src/api_s2c/hongdian/fun.ts index 1b255fc..99973d6 100644 --- a/src/api_s2c/hongdian/fun.ts +++ b/src/api_s2c/hongdian/fun.ts @@ -659,7 +659,7 @@ export class HuoDongHongDianFun { if (element.gudKey == "zhizunyueka") { let logs = await PayFun.getPayLog(call.uid, "zhizunyueka"); - if (!logs || logs.slice(-1)[0].eTime < G.time) { + if (logs.length <= 0 || logs.slice(-1)[0].eTime < G.time) { continue } }