refactor: banner添加语言区分查询
This commit is contained in:
@@ -31,6 +31,7 @@ class Banner
|
||||
->withSearch(['name'], [
|
||||
'name' => $param['name'] ?? null
|
||||
])
|
||||
->language(request()->lang_id)
|
||||
->order(['sort' => 'asc', 'id' => 'desc'])
|
||||
->paginate([
|
||||
'list_rows' => $param['size'],
|
||||
|
||||
Reference in New Issue
Block a user