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

@@ -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'],