fix:重构合图模块
This commit is contained in:
@@ -47,10 +47,11 @@ type (
|
||||
GuestId int64 `json:"guest_id"`
|
||||
TemplateId int64 `json:"template_id"`
|
||||
TemplateTag string `json:"resource_key"`
|
||||
Website string `form:"website,optional"` // 合图参数
|
||||
Slogan string `form:"slogan,optional"` // 合图参数
|
||||
Address string `form:"address,optional"` // 合图参数
|
||||
Phone string `form:"phone,optional"` // 合图参数
|
||||
Website string `json:"website"` // 合图参数
|
||||
Slogan string `json:"slogan"` // 合图参数
|
||||
Address string `json:"address"` // 合图参数
|
||||
Phone string `json:"phone"` // 合图参数
|
||||
Qrcode string `json:"qrcode"` // 合图参数
|
||||
}
|
||||
LogoCombineRes struct {
|
||||
ResourceId string
|
||||
@@ -131,6 +132,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||
combineParam["slogan"] = in.Slogan
|
||||
combineParam["phone"] = in.Phone
|
||||
combineParam["address"] = in.Address
|
||||
combineParam["qrcode"] = in.Qrcode
|
||||
|
||||
var postMap = make(map[string]interface{}, 2)
|
||||
postMap["module_data"] = moduleDataMap
|
||||
|
||||
Reference in New Issue
Block a user