From 4f1092131fa4338d8494bab6559def94695f1868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 11 Dec 2025 16:13:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/Search.php b/application/api/controller/Search.php index 529fd16e..75f9f1eb 100644 --- a/application/api/controller/Search.php +++ b/application/api/controller/Search.php @@ -148,7 +148,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($rooms){ - foreach ($rooms as $vv){ + 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']; }