Commit cd7e97c1b59c4cac28358dcaf8d5e2d716469650

Authored by 陆恒
1 parent 9e6f631d
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -457,7 +457,7 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int, token string) { @@ -457,7 +457,7 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int, token string) {
457 resp.Data.Hitcatleftcnt = uinfo.HitCatTime 457 resp.Data.Hitcatleftcnt = uinfo.HitCatTime
458 uinfo.LastLoginTime = int(time.Now().Unix()) 458 uinfo.LastLoginTime = int(time.Now().Unix())
459 459
460 - err = SaveUserInfo(uinfo, strconv.Itoa(uuid)) 460 + err = SaveUserInfo(uinfo, strconv.Itoa(rdata.UserId))
461 if err != nil { 461 if err != nil {
462 logger.Error("SaveUserInfo failed err=%v") 462 logger.Error("SaveUserInfo failed err=%v")
463 } 463 }