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)