fix:合图调整
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user