Commit c875ecb0314cbcb496677f2b2e22f9303065b32a

Authored by 陆恒
1 parent 873a0c60
Exists in master

提交

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
src/HttpServer/logic/httpserver.go
... ... @@ -90,18 +90,18 @@ func Testsendhttp() {
90 90 redishandler.GetRedisClient().HDel(redis.USER_TASKINFO_LIST, oneuid)
91 91 redishandler.GetRedisClient().HDel(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)*/
92 92 //存入mysql
93   - info,_ := redishandler.GetRedisClient().HGet(redis.USER_DATA_KEY, oneuid)
94   - task, _ := redishandler.GetRedisClient().HGet(redis.USER_TASKINFO_LIST, oneuid)
  93 + //info,_ := redishandler.GetRedisClient().HGet(redis.USER_DATA_KEY, oneuid)
  94 + //task, _ := redishandler.GetRedisClient().HGet(redis.USER_TASKINFO_LIST, oneuid)
95 95  
96 96  
97   - ach, _ := redishandler.GetRedisClient().HGet(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)
  97 + //ach, _ := redishandler.GetRedisClient().HGet(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)
98 98  
99   - err := mysql.DoBackUp(oneuid,info,task,ach)
  99 + err := mysql.DoBackUp(oneuid,"info","task","ach")
100 100 if err != nil {
101 101 logger.Error("Testsendhttp err=%v",err)
102 102 }
103 103  
104   - if right >= 50 {
  104 + if right >= 2 {
105 105 break
106 106 }
107 107 }else {
... ...