diff --git a/server_api/websocket.api b/server_api/websocket.api index 97d01742..ad1cc925 100644 --- a/server_api/websocket.api +++ b/server_api/websocket.api @@ -29,6 +29,6 @@ type RenderNotifyReq { } //通用回调接口 type CommonNotifyReq { - Wid string `json:"wid"` //websocket连接标识 + Wid string `json:"wid"` //websocket连接标识,(如果传了token,则以token为主寻找连接) Data map[string]interface{} `json:"data"` //后端与前端约定好的数据 } \ No newline at end of file