fix
This commit is contained in:
@@ -11,7 +11,7 @@ import "basic.api"
|
||||
service websocket {
|
||||
//websocket数据交互
|
||||
@handler DataTransferHandler
|
||||
get /api/websocket/data_transfer(request) returns (response);
|
||||
get /api/websocket/data_transfer(DataTransferReq) returns (response);
|
||||
//云渲染完了通知接口
|
||||
@handler RenderNotifyHandler
|
||||
post /api/websocket/render_notify(RenderNotifyReq) returns (response);
|
||||
@@ -20,6 +20,10 @@ service websocket {
|
||||
post /api/websocket/common_notify(CommonNotifyReq) returns (response);
|
||||
}
|
||||
|
||||
//websocket数据交互[
|
||||
type DataTransferReq {
|
||||
Wid string `form:"wid"`
|
||||
}
|
||||
//渲染完了通知接口
|
||||
type RenderNotifyReq {
|
||||
TaskId string `json:"task_id"`
|
||||
|
||||
Reference in New Issue
Block a user