fix: mobile 修复获取产品分类焦点图未区分pc与mobile数据

This commit is contained in:
2025-06-07 16:04:01 +08:00
parent fe9e8fb8ff
commit e55cfa388e

View File

@@ -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)