fix:重构合图模块

This commit is contained in:
Hiven 2023-08-15 17:19:05 +08:00
parent bd8a74701e
commit cebd92becd

View File

@ -1,6 +1,7 @@
package logic
import (
"fmt"
"fusenapi/utils/auth"
"fusenapi/utils/basic"
"fusenapi/utils/file"
@ -62,6 +63,7 @@ func (l *UploadFileBackendLogic) UploadFileBackend(req *types.UploadFileBackendR
l.r.ParseMultipartForm(32 << 20)
fileObject, _, err := l.r.FormFile("file")
fmt.Printf("%#v", fileObject)
if err != nil {
logx.Error(err)
return resp.SetStatus(basic.CodeFileUploadErr, "file upload err,no files")