This commit is contained in:
2025-12-11 14:07:33 +08:00
parent f6869b0941
commit 8b473b95d6

View File

@@ -147,7 +147,7 @@ class Search extends BaseCom
}
$rooms = db::name('vs_room')->field('id as room_id,room_name,room_cover,room_number,label_id,today_hot_value')->where($where1)->select();
if(isset($rooms)){
if($rooms){
foreach ($rooms as $vv){
$vv['label_icon'] = db::name('vs_room_label')->where('id', $vv['label_id'])->value('label_icon');
$vv['hot_value'] = $vv['today_hot_value'];