This commit is contained in:
laodaming 2023-07-26 18:20:15 +08:00
parent 9255a0073f
commit 857a632cea

View File

@ -79,7 +79,6 @@ func (l *DataTransferLogic) DataTransfer(svcCtx *svc.ServiceContext, w http.Resp
//鉴权不成功10秒后断开
/*if !l.checkAuth(svcCtx, r) {
rsp.T = constants.WEBSOCKET_UNAUTH
rsp.D = "unAuth"
b, _ := json.Marshal(rsp)
//先发一条正常信息
_ = conn.WriteMessage(websocket.TextMessage, b)