fix:合图调整

This commit is contained in:
momo
2023-10-08 15:48:22 +08:00
parent 8c69e4d2d3
commit 6dc591283e
6 changed files with 7 additions and 17 deletions

View File

@@ -209,6 +209,7 @@ type (
Phone string `json:"phone"` // 合图参数
Qrcode string `json:"qrcode"` // 合图参数
LogoUrl string `json:"logo_url"` // 合图参数
Resolution string `json:"resolution"` // 合图参数
TemplateTagColor TemplateTagColor `json:"template_tag_color"` //合图颜色
}
LogoCombineRes struct {
@@ -296,6 +297,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
var combineParam map[string]interface{}
json.Unmarshal([]byte(*resLogoInfo.Metadata), &combineParam)
combineParam["resolution"] = in.Resolution
combineParam["template_tagid"] = in.TemplateTag
combineParam["website"] = in.Website
combineParam["slogan"] = in.Slogan