From a969fb65df1c5f8451b686d34d9517dbc0081310 Mon Sep 17 00:00:00 2001 From: xcy <871622040@qq.com> Date: Tue, 19 Dec 2023 19:11:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BC=99=E4=BC=B4=E6=8B=9B=E5=8B=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/huobanzhaomu/ApiOpen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/event/huobanzhaomu/ApiOpen.ts b/src/api_s2c/event/huobanzhaomu/ApiOpen.ts index cbe74fe..2960c08 100644 --- a/src/api_s2c/event/huobanzhaomu/ApiOpen.ts +++ b/src/api_s2c/event/huobanzhaomu/ApiOpen.ts @@ -15,7 +15,7 @@ export default async function (call: ApiCall) { if (!logs) { logs = await PayFun.getPayLog(call.uid, "zhizunyueka"); } - finish[i] = !(logs.length < 0 || logs.slice(-1)[0].eTime < G.time); + finish[i] = !(logs.length <= 0 || logs.slice(-1)[0].eTime < G.time); } else { finish[i] = call.conn.gud[conf.gudKey] >= conf.total; }