fix:上传logo,报错信息反馈给前端
This commit is contained in:
parent
e87ece4071
commit
296194e730
|
@ -178,6 +178,7 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
|
basic.CodeServiceErr.Message = fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err)
|
||||||
return resp.SetStatus(basic.CodeServiceErr, fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err))
|
return resp.SetStatus(basic.CodeServiceErr, fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err))
|
||||||
}
|
}
|
||||||
resultStr = resLogoStandard.Res
|
resultStr = resLogoStandard.Res
|
||||||
|
|
Loading…
Reference in New Issue
Block a user