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',