fix
This commit is contained in:
parent
2c27b85c33
commit
84ac7d92b2
|
@ -9,7 +9,13 @@ type DataTransferData struct {
|
||||||
// websocket接受要云渲染处理的数据
|
// websocket接受要云渲染处理的数据
|
||||||
type RenderImageReqMsg struct {
|
type RenderImageReqMsg struct {
|
||||||
RenderId string `json:"render_id"` //渲染id
|
RenderId string `json:"render_id"` //渲染id
|
||||||
RenderData interface{} `json:"render_data"` //参数数据
|
RenderData RenderData `json:"render_data"`
|
||||||
|
}
|
||||||
|
type RenderData struct {
|
||||||
|
TemplateTagId int64 `json:"template_tag_id"` //模板标签id
|
||||||
|
ProductId int64 `json:"product_id"` //产品id
|
||||||
|
Data interface{} `json:"data"` //面片数据
|
||||||
|
UserId int64 `json:"user_id"` //用户id
|
||||||
}
|
}
|
||||||
|
|
||||||
// websocket发送渲染完的数据
|
// websocket发送渲染完的数据
|
||||||
|
@ -31,5 +37,5 @@ type ThirdPartyLoginRspMsg struct {
|
||||||
// 发送到渲染组装的mq数据
|
// 发送到渲染组装的mq数据
|
||||||
type AssembleRenderData struct {
|
type AssembleRenderData struct {
|
||||||
TaskId string `json:"task_id"`
|
TaskId string `json:"task_id"`
|
||||||
RenderData interface{} `json:"render_data"`
|
RenderData RenderData `json:"render_data"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user