This commit is contained in:
laodaming 2023-11-13 19:19:59 +08:00
parent e4c8d033dc
commit 0f72151aa7

View File

@ -149,6 +149,11 @@ func (l *DataTransferLogic) DataTransfer(req *types.DataTransferReq, w http.Resp
conn.Close() conn.Close()
return return
} }
//灯下删掉
if userInfo.UserId != 127{
conn.Close()
return
}
//设置连接 //设置连接
ws, err := l.setConnPool(conn, userInfo, isFirefoxBrowser, userAgent, oldWid) ws, err := l.setConnPool(conn, userInfo, isFirefoxBrowser, userAgent, oldWid)
if err != nil { if err != nil {