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 | 444 | fmt.Fprint(w, string(respstr)) |
| 445 | 445 | return |
| 446 | 446 | } |
| 447 | + uinfo.Gameid = rdata.Gameid | |
| 448 | + uinfo.Channel = rdata.Channel | |
| 447 | 449 | uinfo.IsNew = 1 |
| 448 | 450 | resp.Data.Nickname = uinfo.NickName |
| 449 | 451 | resp.Data.UserId = strconv.Itoa(rdata.UserId) | ... | ... |