feat: 添加附件(下载管理)回收站分页/恢复/删除接口
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user