refactor: 视频信息相关接口添加语言查询支持

This commit is contained in:
2025-02-21 14:33:22 +08:00
parent f2c3200d28
commit 68a29ca984
5 changed files with 16 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ class VideoTrash
->withSearch(['name'], [
'name' => $params['name']??null
])
->language(request()->lang_id)
->categoryId($params['category_id']??null)
->onlyTrashed()
->order(['sort' => 'asc', 'id' => 'desc'])