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