fix:合图调整
This commit is contained in:
@@ -19,6 +19,7 @@ AWS:
|
||||
Secret: sjCEv0JxATnPCxno2KNLm0X8oDc7srUR+4vkYhvm
|
||||
Token:
|
||||
BLMService:
|
||||
Version: "2"
|
||||
Url: "http://18.119.109.254:8999"
|
||||
# Url: "http://192.168.1.9:8999"
|
||||
ImageProcess:
|
||||
|
||||
@@ -22,6 +22,7 @@ type Config struct {
|
||||
}
|
||||
}
|
||||
BLMService struct {
|
||||
Version string
|
||||
Url string
|
||||
ImageProcess struct {
|
||||
Url string
|
||||
|
||||
@@ -171,12 +171,9 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
||||
logoHeight = 200
|
||||
}
|
||||
var resultStr string
|
||||
|
||||
var postMap = make(map[string]string, 1)
|
||||
postMap["logo_url"] = logoUrl
|
||||
|
||||
resLogoStandard, err := l.svcCtx.Repositories.ImageHandle.LogoInfoSet(l.ctx, &repositories.LogoInfoSetReq{
|
||||
LogoUrl: logoUrl,
|
||||
Version: l.svcCtx.Config.BLMService.Version,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user