From 41cb0aff5d39795b2e6b0494c8ec85de16ab5ff9 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sun, 29 Sep 2024 09:11:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E8=AE=A9=E8=BF=90=E8=90=A5?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=BC=80=E5=90=AF=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E6=A0=8F=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/IndexLogic.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/api/logic/IndexLogic.php b/app/api/logic/IndexLogic.php index 3b191a4e..8bfc28f3 100755 --- a/app/api/logic/IndexLogic.php +++ b/app/api/logic/IndexLogic.php @@ -808,15 +808,16 @@ class IndexLogic extends Logic ->withAttr('un_selected_icon',function($value,$data){ return UrlServer::getFileUrl($value); }) - ->select(); + ->select()->toArray(); - if ($user_id == 215) { + if ($user_id == 215 || $user_id == 1902 || $user_id == 1632) { foreach ($navigation as &$v) { if ($v['name'] == '本地生活') { $v['status'] = 1; } } } + $share_h5 = ConfigServer::get('share', 'h5', [ 'h5_share_title' => '', 'h5_share_intro' => '',