fix:修复上传

This commit is contained in:
Hiven
2023-08-10 19:08:06 +08:00
parent d10f404206
commit 83b0b7f5ab
15 changed files with 209 additions and 41 deletions

View File

@@ -21,7 +21,7 @@ func UploadLogoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
}
// 创建一个业务逻辑层实例
l := logic.NewUploadLogoLogic(r.Context(), svcCtx)
l := logic.NewUploadLogoLogic(r, svcCtx)
rl := reflect.ValueOf(l)
basic.BeforeLogic(w, r, rl)