refactor: 视频分类默认选中问题

This commit is contained in:
2025-05-14 17:48:58 +08:00
parent 6418974f4f
commit 9f297a171d
2 changed files with 3 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ class Attachment extends Common
])
->withSearch(['name'], ['name' => $param['keyword']??null])
->language($this->lang_id)
->category($param['id']??null)
->category($param['id']??$video_categorys[0]['id']??null)
->order(['sort' => 'asc', 'id' => 'desc'])
->paginate([
'list_rows' => $param['size'],