fix:上传logo
This commit is contained in:
parent
3f73edae00
commit
c004b06602
|
@ -15,4 +15,4 @@ AWS:
|
|||
Token:
|
||||
BLMService:
|
||||
ImageProcess:
|
||||
Url: "http://192.168.1.8:45678/FeatureExtraction"
|
||||
Url: "http://192.168.1.7:45678/FeatureExtraction"
|
||||
|
|
|
@ -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()
|
||||
// 新增记录
|
||||
|
|
Loading…
Reference in New Issue
Block a user