From ec2110c07d4c59cb24d8ec6589d70666b5e6fe6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sat, 11 Oct 2025 16:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=8C=85=E7=AC=AC10=E6=AC=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/library/RedpacketLua.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/common/library/RedpacketLua.php b/application/common/library/RedpacketLua.php index 126fc20..99b6024 100644 --- a/application/common/library/RedpacketLua.php +++ b/application/common/library/RedpacketLua.php @@ -46,14 +46,14 @@ if status == 0 then end end ---if status ~= 1 then +-- if status ~= 1 then -- return {0, "红包已结束"} ---end +-- end ---if currentTime > endTime then +-- if currentTime > endTime then -- redis.call('HSET', redpacketKey, 'status', 2) -- return {0, "红包已结束"} ---end +-- end -- 检查是否已经抢过 local hasGrabbed = redis.call('SISMEMBER', userSetKey, userId)