From fc368aeda480491c9bf99c80aba4d5b29460bfeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 27 Jan 2026 20:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=86=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/library/LotteryGiftLua.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/library/LotteryGiftLua.php b/application/common/library/LotteryGiftLua.php index 26249d06..4c40c05e 100644 --- a/application/common/library/LotteryGiftLua.php +++ b/application/common/library/LotteryGiftLua.php @@ -171,7 +171,7 @@ redis.call('set', small_round_key, small_round) local small_total_times = tonumber(redis.call('incr', small_total_times_key)) local small_total_gold = tonumber(redis.call('get', small_total_gold_key) or 0) small_total_gold = small_total_gold + small_pool_add -small_total_golds = string.format("%.2f", small_total_gold) +local small_total_golds = string.format("%.2f", small_total_gold) redis.call('set', small_total_gold_key, small_total_golds) -- 4. 返回结果初始化(区分大小轮次)