diff --git a/server/api/admin/attachment/attachment.go b/server/api/admin/attachment/attachment.go index 83f0068..221ea72 100644 --- a/server/api/admin/attachment/attachment.go +++ b/server/api/admin/attachment/attachment.go @@ -39,7 +39,7 @@ type ViewRes struct { // EditReq 修改/新增 type EditReq struct { - entity.AdminNotice + entity.SysAttachment g.Meta `path:"/attachment/edit" method:"post" tags:"附件" summary:"修改/新增附件"` } type EditRes struct{}