feat: 更新上传接口,使用新的上传表单结构并添加价格字段
This commit is contained in:
@@ -59,7 +59,7 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
r.common.Upload,
|
||||
Local[*models.User]("__ctx_user"),
|
||||
File[multipart.FileHeader]("file"),
|
||||
Body[string]("type"),
|
||||
Body[dto.UploadForm]("form"),
|
||||
))
|
||||
// Register routes for controller: Content
|
||||
r.log.Debugf("Registering route: Get /v1/contents -> content.List")
|
||||
|
||||
Reference in New Issue
Block a user