fix: mobile 修复获取产品分类焦点图未区分pc与mobile数据
This commit is contained in:
@@ -45,6 +45,7 @@ class Product extends Common
|
|||||||
->where('status', '=', 1)
|
->where('status', '=', 1)
|
||||||
->order(['sort' => 'asc', 'id' => 'desc']);
|
->order(['sort' => 'asc', 'id' => 'desc']);
|
||||||
}])
|
}])
|
||||||
|
->atPlatform(request()->from)
|
||||||
->uniqueLabel(['BANNER_6808abd813d78'])
|
->uniqueLabel(['BANNER_6808abd813d78'])
|
||||||
->language($this->lang_id)
|
->language($this->lang_id)
|
||||||
->enabled(true)
|
->enabled(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user