From 7eeffdce652fa69e5ef56b4b7416d5e32dc317e9 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:24:12 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/adminapi/controller/Lottery.php b/application/adminapi/controller/Lottery.php index 80f4e7b9..3951f3a5 100644 --- a/application/adminapi/controller/Lottery.php +++ b/application/adminapi/controller/Lottery.php @@ -24,7 +24,7 @@ class Lottery extends adminApi public function _initialize() { parent::_initialize(); - $this->redis = Cache::store('redis')->handler(); + } /* * 配置列表 @@ -53,7 +53,7 @@ class Lottery extends adminApi ]; db::name("bb_lottery_config")->where(['key'=>$k])->update($data); } - + $this->redis = Cache::store('redis')->handler(); $prize_amount = $this->redis->get('lottery:small_pool:total_gold'); Db::name('bb_lottery_winner_record')->insert([