fix:裁剪业务逻辑调整

This commit is contained in:
momo
2023-08-23 15:10:22 +08:00
parent eb3828a86a
commit 3a2abde3b4
3 changed files with 9 additions and 5 deletions

View File

@@ -133,12 +133,11 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
Height: "0",
Proportion: "100",
})
logoUrl = resLogoStandard.ResourceUrl
if err != nil {
logx.Error(err)
return resp.SetStatus(basic.CodeServiceErr)
}
logoUrl = resLogoStandard.ResourceUrl
} else {
logoUrl = uploadRes.ResourceUrl
}