From ca50594422ef9becc9d8c022dbd34591caaa06e7 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Sat, 8 Aug 2020 14:41:20 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/logic.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 1905892..a0150b7 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -1188,7 +1188,8 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int) { //不存在 //属于新登录的玩家数据 //需要判断是否存在老的版本的数据 - isexist, err = redishandler.GetRedisClient().HExists(redis.USER_DATA_KEY, strconv.Itoa(uuid)) + err = InitUserInfo(&rdata, &resp, uuid, uniqueuuid) + /*isexist, err = redishandler.GetRedisClient().HExists(redis.USER_DATA_KEY, strconv.Itoa(uuid)) if err == nil && isexist { logger.Info("HandlerLogin111111111111") //如果存在老的数据 做数据迁移 @@ -1217,7 +1218,7 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int) { logger.Info("HandlerLogin22222222222222222") //不存在老的数据 之间走新号流程 err = InitUserInfo(&rdata, &resp, uuid, uniqueuuid) - } + }*/ } else { //已经迁移过的数据之间返回 -- libgit2 0.21.0