Commit 738f4df89ae8855aa1c6cbccff16ae80c689a944

Authored by 陆恒
1 parent 2291ebb5
Exists in master

提交

Showing 1 changed file with 16 additions and 0 deletions   Show diff stats
src/HttpServer/logic/httpserver.go
... ... @@ -105,6 +105,22 @@ func Testsendhttp() {
105 105 break
106 106 }
107 107 }else {
  108 + if oneuid == "5943465P_D_BL01_4" {
  109 + info,_ := redishandler.GetRedisClient().HGet(redis.USER_DATA_KEY, oneuid)
  110 + task, _ := redishandler.GetRedisClient().HGet(redis.USER_TASKINFO_LIST, oneuid)
  111 +
  112 +
  113 + ach, _ := redishandler.GetRedisClient().HGet(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)
  114 +
  115 + err := mysql.DoBackUp(oneuid,info,task,ach)
  116 + if err != nil {
  117 + logger.Error("Testsendhttp err=%v",err)
  118 + }
  119 +
  120 + redishandler.GetRedisClient().HDel(redis.USER_DATA_KEY, oneuid)
  121 + redishandler.GetRedisClient().HDel(redis.USER_TASKINFO_LIST, oneuid)
  122 + redishandler.GetRedisClient().HDel(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)
  123 + }
108 124 //logger.Info("ERRORUUID=%v", oneuid)
109 125 }
110 126 }
... ...