fix: nas 产品体验页焦点图bug
This commit is contained in:
@@ -110,8 +110,9 @@ class TopicNas extends Common
|
|||||||
$trial_instructions = [];
|
$trial_instructions = [];
|
||||||
// 获取banner数据
|
// 获取banner数据
|
||||||
$banners = SysBannerModel::with(['items' => function($query) {
|
$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([
|
->uniqueLabel([
|
||||||
'BANNER_68103aaebe4c4',
|
'BANNER_68103aaebe4c4',
|
||||||
'BANNER_68103acd1a8b9',
|
'BANNER_68103acd1a8b9',
|
||||||
|
|||||||
Reference in New Issue
Block a user