小时榜礼物配置

This commit is contained in:
2025-09-30 22:36:27 +08:00
parent b448d77d05
commit 35953326c6
2 changed files with 35 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ class RoomHourRanking extends Model
//判断是否开启
$open_time = db::name('vs_hour_ranking_config')->where('id', 1)->value('open_time');
if ($open_time == 0) {
// return ['code' => 0, 'msg' => '排行榜暂未开启', 'data' => null];
return ['code' => 0, 'msg' => '排行榜暂未开启', 'data' => null];
}
//是否开启巡乐会