This commit is contained in:
laodaming
2023-08-09 16:58:08 +08:00
parent c51c9f228c
commit 28b9d1ac1f
2 changed files with 8 additions and 125 deletions

View File

@@ -12,12 +12,11 @@ type RenderImageReqMsg struct {
RenderData RenderData `json:"render_data"`
}
type RenderData struct {
TemplateTagId int64 `json:"template_tag_id"` //模板标签id
ProductId int64 `json:"product_id"` //产品id
LogoId int64 `json:"logo_id"`
Data interface{} `json:"data"` //面片数据
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)
TemplateTagId int64 `json:"template_tag_id"` //模板标签id
ProductId int64 `json:"product_id"` //产品id
LogoId int64 `json:"logo_id"`
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)
}
// websocket发送渲染完的数据