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

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

View File

@@ -30,6 +30,7 @@ class VideoCategory
->withSearch(['name'], [
'name' => $param['name']??null
])
->language(request()->lang_id)
->order(['sort' => 'asc', 'id' => 'desc'])
->paginate([
'list_rows' => $param['size'],