From 447f84ec6dfd9b6e96b8ae4a589f1fbcde4bb039 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 28 Aug 2023 10:44:19 +0800 Subject: [PATCH] 11 --- server/websocket/internal/logic/datatransferlogic.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index 60ad5d4b..02071c5c 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -209,6 +209,9 @@ func (l *DataTransferLogic) checkAuth(r *http.Request) (isAuth bool, userInfo *a logx.Error(err) return false, nil } + //todo 对接登录后要删除 + userInfo.UserId = 39 + userInfo.GuestId = 0 return true, userInfo } //白板用户