fix: nas 产品体验页焦点图bug

This commit is contained in:
2025-06-07 16:41:51 +08:00
parent b749efcef0
commit 32b55d50dd

View File

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