fix:上传logo

This commit is contained in:
Hiven
2023-08-09 18:05:39 +08:00
parent 3f73edae00
commit c004b06602
2 changed files with 5 additions and 1 deletions

View File

@@ -100,6 +100,10 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
}
resultStr = string(b)
if resultStr == "Internal Server Error" {
return resp.SetStatus(basic.CodeFileUploadLogoErr, resultStr)
}
var module = "logo"
var nowTime = time.Now().Unix()
// 新增记录