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

@ -15,4 +15,4 @@ AWS:
Token:
BLMService:
ImageProcess:
Url: "http://192.168.1.8:45678/FeatureExtraction"
Url: "http://192.168.1.7:45678/FeatureExtraction"

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()
// 新增记录