fix
This commit is contained in:
@@ -20,22 +20,6 @@ service websocket {
|
||||
post /api/websocket/third_party_login_notify(ThirdPartyLoginNotifyReq) returns (response);
|
||||
}
|
||||
|
||||
//websocket数据交互
|
||||
type DataTransferData {
|
||||
T string `json:"t"` //消息类型
|
||||
D interface{} `json:"d"` //传递的消息
|
||||
}
|
||||
type RenderImageReqMsg { //websocket接受要云渲染处理的数据
|
||||
RenderId string `json:"render_id"` //渲染id
|
||||
RenderData interface{} `json:"render_data"` //参数数据
|
||||
}
|
||||
type RenderImageRspMsg { //websocket发送渲染完的数据
|
||||
RenderId string `json:"render_id"` //渲染id
|
||||
Image string `json:"image"` //渲染结果图片
|
||||
}
|
||||
type ThirdPartyLoginRspMsg { //websocket三方登录的通知数据
|
||||
Token string `json:"token"`
|
||||
}
|
||||
//渲染完了通知接口
|
||||
type RenderNotifyReq {
|
||||
Sign string `json:"sign"`
|
||||
|
||||
Reference in New Issue
Block a user