优化查询渲染模板流程

This commit is contained in:
laodaming 2023-09-01 16:19:23 +08:00
parent 4a2ce8b737
commit 0b4b7b718d

View File

@ -60,12 +60,12 @@ func (r *reuseConnProcessor) allocationMessage(w *wsConnectItem, data []byte) {
} }
} }
//重新绑定 //重新绑定
logx.Info("开始重新绑定>>>>>") logx.Info("开始重新绑定websocket连接标识")
w.uniqueId = wid w.uniqueId = wid
mapConnPool.Store(wid, *w) mapConnPool.Store(wid, *w)
rsp := w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid) rsp := w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid)
w.sendToOutChan(rsp) w.sendToOutChan(rsp)
logx.Info("重新绑定成功") logx.Info("重新绑定websocket连接标识成功")
} }
// 获取用户拼接部分(复用标识用到) // 获取用户拼接部分(复用标识用到)