From 32b55d50dd20af49550ec637d2258b4d2b0951bc Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Sat, 7 Jun 2025 16:41:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20nas=20=E4=BA=A7=E5=93=81=E4=BD=93?= =?UTF-8?q?=E9=AA=8C=E9=A1=B5=E7=84=A6=E7=82=B9=E5=9B=BEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/TopicNas.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index a96d0649..65a23ced 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -110,8 +110,9 @@ class TopicNas extends Common $trial_instructions = []; // 获取banner数据 $banners = SysBannerModel::with(['items' => function($query) { - $query->withoutField(['sort', 'created_at', 'updated_at', 'deleted_at']); + $query->withoutField(['sort', 'created_at', 'updated_at', 'deleted_at'])->enabled(true); }]) + ->atPlatform(request()->from) ->uniqueLabel([ 'BANNER_68103aaebe4c4', 'BANNER_68103acd1a8b9',