This commit is contained in:
laodaming 2023-08-17 16:22:26 +08:00
parent 509e82db63
commit 5ab2bb51e2

View File

@ -108,6 +108,7 @@ func (l *DataTransferLogic) DataTransfer(w http.ResponseWriter, r *http.Request)
}*/
// todo user信息是没有的
var userInfo auth.UserInfo
userInfo.UserId = 39
//设置连接
ws := l.setConnPool(conn, userInfo)
defer ws.close()