fix
This commit is contained in:
parent
66f0f2dffa
commit
573a199878
|
@ -197,6 +197,7 @@ type (
|
|||
Phone string `json:"phone"` // 合图参数
|
||||
Qrcode string `json:"qrcode"` // 合图参数
|
||||
LogoUrl string `json:"logo_url"` // 合图参数
|
||||
TemplateTagColor TemplateTagColor `json:"template_tag_color"`
|
||||
}
|
||||
LogoCombineRes struct {
|
||||
ResourceId string
|
||||
|
@ -206,6 +207,10 @@ type (
|
|||
DiffTimeUploadFile int64
|
||||
}
|
||||
)
|
||||
type TemplateTagColor struct {
|
||||
Color [][]string `json:"color"`
|
||||
Index int `json:"index"`
|
||||
}
|
||||
|
||||
func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq) (*LogoCombineRes, error) {
|
||||
// 查询logo最新基础信息
|
||||
|
@ -308,6 +313,10 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
|||
combineParam["phone"] = in.Phone
|
||||
combineParam["address"] = in.Address
|
||||
combineParam["qrcode"] = in.Qrcode
|
||||
combineParam["template_tag_selected"] = map[string]interface{}{
|
||||
"template_tag": in.TemplateTag,
|
||||
"color": in.TemplateTagColor,
|
||||
}
|
||||
|
||||
var postMap = make(map[string]interface{}, 2)
|
||||
postMap["module_data"] = moduleDataMap
|
||||
|
|
Loading…
Reference in New Issue
Block a user