Commit d1c2280bb642fb3479a36ec8bdada43d2367c913
1 parent
8401ae0c
Exists in
master
修复bug
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -444,6 +444,8 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int, token string) { | @@ -444,6 +444,8 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int, token string) { | ||
444 | fmt.Fprint(w, string(respstr)) | 444 | fmt.Fprint(w, string(respstr)) |
445 | return | 445 | return |
446 | } | 446 | } |
447 | + uinfo.Gameid = rdata.Gameid | ||
448 | + uinfo.Channel = rdata.Channel | ||
447 | uinfo.IsNew = 1 | 449 | uinfo.IsNew = 1 |
448 | resp.Data.Nickname = uinfo.NickName | 450 | resp.Data.Nickname = uinfo.NickName |
449 | resp.Data.UserId = strconv.Itoa(rdata.UserId) | 451 | resp.Data.UserId = strconv.Itoa(rdata.UserId) |