From c796da7f5d6a646d76e4213dc8d4cf45bd253dd8 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Wed, 8 Jul 2020 15:24:28 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/logic.go | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 64b0873..fe19342 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -1126,6 +1126,7 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int) { //需要判断是否存在老的版本的数据 isexist, err = redishandler.GetRedisClient().HExists(redis.USER_DATA_KEY, strconv.Itoa(uuid)) if err == nil && isexist { + logger.Info("HandlerLogin111111111111") //如果存在老的数据 做数据迁移 oldstr, err := redishandler.GetRedisClient().HGet(redis.USER_DATA_KEY, strconv.Itoa(uuid)) if err != nil { @@ -1149,6 +1150,7 @@ func HandlerLogin(w http.ResponseWriter, data string, uuid int) { logger.Info("HandlerLogin uuid=%v do set", uuid) } } else { + logger.Info("HandlerLogin22222222222222222") //不存在老的数据 之间走新号流程 err = InitUserInfo(&rdata, &resp, uuid, uniqueuuid) } -- libgit2 0.21.0