fix
This commit is contained in:
@@ -23,18 +23,13 @@ type DataTransferData {
|
||||
D interface{} `json:"d"` //传递的消息
|
||||
}
|
||||
type RenderImageReqMsg { //websocket接受要云渲染处理的数据
|
||||
ProductIds []int64 `json:"product_ids"` //产品 id
|
||||
MapsSourceId int64 `json:"maps_source_id"` //贴图数据id
|
||||
TemplateId int64 `json:"template_id"` //模板id
|
||||
UserId int64 `json:"user_id"` //用户id(这个前端不用传,后台获取)
|
||||
RenderDesignId int64 `json:"render_design_id"` //渲染设计id
|
||||
ProductIds []int64 `json:"product_ids"` //产品 id
|
||||
TemplateTagId int64 `json:"template_tag_id"` //模板标签id
|
||||
}
|
||||
type RenderImageRspMsg { //websocket发送渲染完的数据
|
||||
ProductId int64 `json:"product_id"` //产品 id
|
||||
MapsSourceId int64 `json:"maps_source_id"` //贴图数据id
|
||||
TemplateId int64 `json:"template_id"` //模板id
|
||||
RenderDesignId int64 `json:"render_design_id"` //渲染设计id
|
||||
RenderResult string `json:"render_result"` //渲染结果数据
|
||||
ProductId int64 `json:"product_id"` //产品 id
|
||||
TemplateTagId int64 `json:"template_tag_id"` //模板标签id
|
||||
Image string `json:"image"` //渲染后的图片
|
||||
}
|
||||
//渲染完了通知接口
|
||||
type RenderNotifyReq {
|
||||
@@ -43,9 +38,7 @@ type RenderNotifyReq {
|
||||
Info NotifyInfo `json:"info"`
|
||||
}
|
||||
type NotifyInfo {
|
||||
ProductId int64 `json:"product_id"`
|
||||
MapsSourceId int64 `json:"maps_source_id"`
|
||||
TemplateId int64 `json:"template_id"`
|
||||
RenderDesignId int64 `json:"render_design_id"` //渲染设计id
|
||||
RenderResult string `json:"render_result"` //渲染结果数据
|
||||
ProductId int64 `json:"product_id"`
|
||||
TemplateTagId int64 `json:"template_tag_id"` //模板标签id
|
||||
Image string `json:"image"`
|
||||
}
|
||||
Reference in New Issue
Block a user