From 54efad06680fe72723b88e46d867716d03d85004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Tue, 28 Oct 2025 18:12:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B2=E7=9B=92=E8=BD=AC=E7=9B=98=E4=BC=98?= =?UTF-8?q?=E5=8C=96-=E9=87=8D=E6=9E=84-=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/BlindBoxTurntableGiftDrawWorldNew.php | 2 +- application/cron/controller/RoomPan.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php b/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php index 6f09ebb..a40e02f 100644 --- a/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php +++ b/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php @@ -526,7 +526,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model * 获取缓存的巡乐会开启次数 */ private function getCachedXlhPeriodsNum($type="get",$num=1) { - $cacheKey = "pan_xlh_periods_num"; + $cacheKey = "xlh_periods_num"; $xlh_periods_num = Cache::get($cacheKey) ?? 0; if($type=="set"){ $xlh_periods_num = $xlh_periods_num + $num; diff --git a/application/cron/controller/RoomPan.php b/application/cron/controller/RoomPan.php index b914981..411665a 100644 --- a/application/cron/controller/RoomPan.php +++ b/application/cron/controller/RoomPan.php @@ -130,7 +130,7 @@ class RoomPan // db::name("vs_room")->where('id',$value['room_id'])->update([ // 'xlh_periods_num' => 0 // ]); - Cache::set("pan_xlh_periods_num", 0, 0); + Cache::set("xlh_periods_num", 0, 0); //推送礼物横幅 $text = "本轮巡乐会已结束,请大家重新开始下一轮巡乐会"; $push = new Push(0, $value['room_id']);