房间小时榜
This commit is contained in:
@@ -23,7 +23,7 @@ class RoomHourRanking extends Model
|
|||||||
//判断是否开启
|
//判断是否开启
|
||||||
$open_time = db::name('vs_hour_ranking_config')->order('id', 'desc')->value('open_time');
|
$open_time = db::name('vs_hour_ranking_config')->order('id', 'desc')->value('open_time');
|
||||||
if ($open_time == 0) {
|
if ($open_time == 0) {
|
||||||
return ['code' => 0, 'msg' => '排行榜暂未开启', 'data' => null];
|
// return ['code' => 0, 'msg' => '排行榜暂未开启', 'data' => null];
|
||||||
}
|
}
|
||||||
|
|
||||||
//是否开启巡乐会
|
//是否开启巡乐会
|
||||||
|
|||||||
Reference in New Issue
Block a user