fix
This commit is contained in:
parent
9255a0073f
commit
857a632cea
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user