Commit e2a223c0a771be4a429b1b7fbda238943e777f97
1 parent
6fd72068
Exists in
master
提交
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/HttpServer/logic/logic.go
| @@ -320,7 +320,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { | @@ -320,7 +320,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { | ||
| 320 | } | 320 | } |
| 321 | resp.Data.Output = strconv.FormatInt(output, 10) | 321 | resp.Data.Output = strconv.FormatInt(output, 10) |
| 322 | resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) | 322 | resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) |
| 323 | - logger.Info("HandlerGetUserData addgold=%v IsDouble=%v resp=%+v", addgold, uinfo.IsDouble, resp) | 323 | + // logger.Info("HandlerGetUserData addgold=%v IsDouble=%v resp=%+v", addgold, uinfo.IsDouble, resp) |
| 324 | 324 | ||
| 325 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) | 325 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) |
| 326 | } | 326 | } |
| @@ -328,7 +328,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { | @@ -328,7 +328,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { | ||
| 328 | //保存此次计算时间 | 328 | //保存此次计算时间 |
| 329 | nowtimestr := strconv.FormatInt(nowtime, 10) | 329 | nowtimestr := strconv.FormatInt(nowtime, 10) |
| 330 | redishandler.GetRedisClient().HSet(redis.USER_LAST_CALC_TIME, strconv.Itoa(uuid), nowtimestr) | 330 | redishandler.GetRedisClient().HSet(redis.USER_LAST_CALC_TIME, strconv.Itoa(uuid), nowtimestr) |
| 331 | - logger.Info("HandlerGetUserData save USER_LAST_CALC_TIME time=%v", nowtimestr) | 331 | + //logger.Info("HandlerGetUserData save USER_LAST_CALC_TIME time=%v", nowtimestr) |
| 332 | 332 | ||
| 333 | break | 333 | break |
| 334 | } | 334 | } |
| @@ -499,7 +499,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { | @@ -499,7 +499,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { | ||
| 499 | uinfo.Gold += addgold | 499 | uinfo.Gold += addgold |
| 500 | uinfo.GoldSum += addgold | 500 | uinfo.GoldSum += addgold |
| 501 | uinfo.AddToRank() | 501 | uinfo.AddToRank() |
| 502 | - logger.Info("HandlerGetMainPageInfo addgold=%v,resp=%+v", addgold, resp) | 502 | + // logger.Info("HandlerGetMainPageInfo addgold=%v,resp=%+v", addgold, resp) |
| 503 | 503 | ||
| 504 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) | 504 | SaveUserInfo(uinfo, strconv.Itoa(uuid)) |
| 505 | } | 505 | } |