feat: 添加附件(下载管理)回收站分页/恢复/删除接口

This commit is contained in:
2025-02-21 16:01:40 +08:00
parent c66d7a6761
commit 7402c0a57f
8 changed files with 150 additions and 40 deletions

View File

@@ -76,7 +76,7 @@ class AttachmentCategory
$data = array_merge($post, ['language_id' => request()->lang_id]);
$validate = new AttachmentCategoryValidate;
if (!$validate->scene('create')->check($post)) {
if (!$validate->scene('create')->check($data)) {
return error($validate->getError());
}