Commit 403767fe6150cce6a7077de1dfe6149737513834
1 parent
a5d8d660
Exists in
master
1
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
| @@ -90,13 +90,13 @@ func Testsendhttp() { | @@ -90,13 +90,13 @@ func Testsendhttp() { | ||
| 90 | redishandler.GetRedisClient().HDel(redis.USER_TASKINFO_LIST, oneuid) | 90 | redishandler.GetRedisClient().HDel(redis.USER_TASKINFO_LIST, oneuid) |
| 91 | redishandler.GetRedisClient().HDel(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)*/ | 91 | redishandler.GetRedisClient().HDel(redis.USER_ACHIEVEMENTINFO_LIST, oneuid)*/ |
| 92 | //存入mysql | 92 | //存入mysql |
| 93 | - info,_ := redishandler.GetRedisClient().HGet(redis.USER_DATA_KEY, oneuid) | ||
| 94 | - task, _ := redishandler.GetRedisClient().HGet(redis.USER_TASKINFO_LIST, oneuid) | 93 | + //,_ := 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 | if err != nil { | 100 | if err != nil { |
| 101 | logger.Error("Testsendhttp err=%v",err) | 101 | logger.Error("Testsendhttp err=%v",err) |
| 102 | } | 102 | } |