11
This commit is contained in:
parent
720a9ab78b
commit
fb359cfba5
|
@ -15,18 +15,19 @@ type RenderImageReqMsg struct {
|
||||||
RenderData RenderData `json:"render_data"`
|
RenderData RenderData `json:"render_data"`
|
||||||
}
|
}
|
||||||
type RenderData struct {
|
type RenderData struct {
|
||||||
TemplateTag string `json:"template_tag"` //模板标签(必须)
|
TemplateTag string `json:"template_tag"` //模板标签(必须)
|
||||||
TemplateTagColor TemplateTagColor `json:"template_tag_color"` //模板标签组合颜色
|
TemplateTagColor TemplateTagColor `json:"template_tag_color"` //模板标签组合颜色(必须)
|
||||||
ProductId int64 `json:"product_id"` //产品id(必须)
|
TemplateTagGroups interface{} `json:"template_tag_groups"` //模板标签分组信息(必须)
|
||||||
Website string `json:"website"` //网站(可选)
|
Logo string `json:"logo"` //log资源地址(必须)
|
||||||
Slogan string `json:"slogan"` //slogan(可选)
|
ProductId int64 `json:"product_id"` //产品id(必须)
|
||||||
Address string `json:"address"` //地址(可选)
|
Website string `json:"website"` //网站(可选)
|
||||||
Phone string `json:"phone"` //电话(可选)
|
Slogan string `json:"slogan"` //slogan(可选)
|
||||||
Qrcode string `json:"qrcode"` //二维码(可选)
|
Address string `json:"address"` //地址(可选)
|
||||||
ProductSizeId int64 `json:"product_size_id"` //尺寸id(可选)
|
Phone string `json:"phone"` //电话(可选)
|
||||||
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
|
Qrcode string `json:"qrcode"` //二维码(可选)
|
||||||
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)
|
ProductSizeId int64 `json:"product_size_id"` //尺寸id(可选)
|
||||||
Logo string `json:"logo"` //log资源地址(websocket连接建立再赋值)
|
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
|
||||||
|
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)
|
||||||
}
|
}
|
||||||
type TemplateTagColor struct {
|
type TemplateTagColor struct {
|
||||||
Color [][]string `json:"color"` //颜色组合
|
Color [][]string `json:"color"` //颜色组合
|
||||||
|
|
Loading…
Reference in New Issue
Block a user