fix
This commit is contained in:
parent
1dd0c78868
commit
7cd2192135
|
@ -130,6 +130,8 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
|||
return resp.SetStatus(basic.CodeFileUploadErr, "upload file failed")
|
||||
}
|
||||
|
||||
logx.Infof("上传logo请求算法--开始时间:%v", time.Now())
|
||||
|
||||
var logoWidth int64
|
||||
var logoHeight int64
|
||||
// 查看sku是否存在
|
||||
|
@ -171,6 +173,9 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
|||
return resp.SetStatus(basic.CodeFileUploadLogoErr, "service fail 02")
|
||||
}
|
||||
|
||||
logx.Infof("上传logo请求算法--结束时间:%v", time.Now())
|
||||
logx.Infof("上传logo请求算法--返回结果:%v", string(b))
|
||||
|
||||
if string(b) == "Internal Server Error" {
|
||||
err = errors.New("BLMService fail Internal Server Error")
|
||||
logx.Error(err)
|
||||
|
|
Loading…
Reference in New Issue
Block a user