From 2e9b107375459a4320de8153e4474c046f77d9b5 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 4 Sep 2023 17:11:40 +0800 Subject: [PATCH] fix --- server_api/websocket.api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"` //后端与前端约定好的数据