diff --git a/server_api/websocket.api b/server_api/websocket.api index 18287171..356a2fd7 100644 --- a/server_api/websocket.api +++ b/server_api/websocket.api @@ -29,7 +29,7 @@ type RenderNotifyReq { } //通用回调接口 type CommonNotifyReq { - Wid string `json:"wid,optional"` //websocket连接标识 + Wid string `json:"wid,optional"` //websocket连接标识(找ws连接优先级高于user_id和guestid) UserId int64 `json:"user_id,optional"` //用户id GuestId int64 `json:"guest_id,optional"` //游客id Data map[string]interface{} `json:"data"` //后端与前端约定好的数据