This commit is contained in:
laodaming
2023-07-25 18:04:01 +08:00
parent d0fc91b61b
commit b0f598af68
4 changed files with 14 additions and 15 deletions

View File

@@ -19,12 +19,12 @@ service websocket {
//websocket数据交互
type DataTransferReq {
MsgType string `json:"msg_type"` //消息类型
Message string `json:"message"` //传递的消息
T string `json:"t"` //消息类型
D string `json:"d"` //传递的消息
}
type DataTransferRsp {
MsgType string `json:"msg_type"` //消息类型
Message string `json:"message"` //传递的消息
T string `json:"t"` //消息类型
D string `json:"d"` //传递的消息
}
type RenderImageReqMsg { //websocket接受需要云渲染的图片
ProductId int64 `json:"product_id"`