From cd7e97c1b59c4cac28358dcaf8d5e2d716469650 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Thu, 6 Aug 2020 19:15:11 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/logic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 2e58bb5..c0efa29 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -457,7 +457,7 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int, token string) { resp.Data.Hitcatleftcnt = uinfo.HitCatTime uinfo.LastLoginTime = int(time.Now().Unix()) - err = SaveUserInfo(uinfo, strconv.Itoa(uuid)) + err = SaveUserInfo(uinfo, strconv.Itoa(rdata.UserId)) if err != nil { logger.Error("SaveUserInfo failed err=%v") } -- libgit2 0.21.0