From d1c2280bb642fb3479a36ec8bdada43d2367c913 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Thu, 6 Aug 2020 18:42:13 +0800 Subject: [PATCH] 修复bug --- src/HttpServer/logic/logic.go | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index a0dae41..6a6c4a2 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -444,6 +444,8 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int, token string) { fmt.Fprint(w, string(respstr)) return } + uinfo.Gameid = rdata.Gameid + uinfo.Channel = rdata.Channel uinfo.IsNew = 1 resp.Data.Nickname = uinfo.NickName resp.Data.UserId = strconv.Itoa(rdata.UserId) -- libgit2 0.21.0