fix
This commit is contained in:
@@ -18,9 +18,6 @@ service websocket {
|
||||
//通用回调接口
|
||||
@handler CommonNotifyHandler
|
||||
post /api/websocket/common_notify(CommonNotifyReq) returns (response);
|
||||
//关闭某个连接
|
||||
@handler CloseWebsocketHandler
|
||||
post /api/websocket/close_websocket(CloseWebsocketReq) returns (response);
|
||||
//获取ws统计信息
|
||||
@handler GetStatHandler
|
||||
get /api/websocket/get_stat(GetStatReq) returns (response);
|
||||
@@ -44,10 +41,6 @@ type CommonNotifyReq {
|
||||
GuestId int64 `json:"guest_id,optional"` //游客id
|
||||
Data map[string]interface{} `json:"data"` //后端与前端约定好的数据
|
||||
}
|
||||
//关闭连接
|
||||
type CloseWebsocketReq {
|
||||
Wid string `json:"wid"`
|
||||
}
|
||||
//获取ws统计信息
|
||||
type GetStatReq {
|
||||
Password string `form:"password"`
|
||||
|
||||
Reference in New Issue
Block a user