diff --git a/server/websocket/internal/logic/ws_reuse_last_connect.go b/server/websocket/internal/logic/ws_reuse_last_connect.go index bab5d61b..0790024e 100644 --- a/server/websocket/internal/logic/ws_reuse_last_connect.go +++ b/server/websocket/internal/logic/ws_reuse_last_connect.go @@ -45,6 +45,8 @@ func (w *wsConnectItem) reuseLastConnect(data []byte) { } //是当前自己占用(无需处理) if obj.uniqueId == w.uniqueId { + rsp := w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid) + w.sendToOutChan(rsp) return } else { w.reuseLastConnErrResponse("the wid is used by other people")