From 9dcec5fb27556e156d30cf872e61c68df801e4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Mon, 26 Jan 2026 19:38: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/adminapi/controller/Lottery.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/adminapi/controller/Lottery.php b/application/adminapi/controller/Lottery.php index 77418c83..5be65646 100644 --- a/application/adminapi/controller/Lottery.php +++ b/application/adminapi/controller/Lottery.php @@ -67,9 +67,9 @@ class Lottery extends adminApi 'status' => 0 // 未发放 ]); //清除缓存 - $this->redis->rm('lottery:small_pool:round'); - $this->redis->rm('lottery:small_pool:total_times'); - $this->redis->rm('lottery:small_pool:total_gold'); + $this->redis->clear('lottery:small_pool:round'); + $this->redis->clear('lottery:small_pool:total_times'); + $this->redis->clear('lottery:small_pool:total_gold'); return V(1,"成功"); }