From e2a223c0a771be4a429b1b7fbda238943e777f97 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Mon, 15 Jun 2020 14:25:28 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/logic.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index e24648d..1006d54 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -320,7 +320,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { } resp.Data.Output = strconv.FormatInt(output, 10) resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) - logger.Info("HandlerGetUserData addgold=%v IsDouble=%v resp=%+v", addgold, uinfo.IsDouble, resp) + // logger.Info("HandlerGetUserData addgold=%v IsDouble=%v resp=%+v", addgold, uinfo.IsDouble, resp) SaveUserInfo(uinfo, strconv.Itoa(uuid)) } @@ -328,7 +328,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { //保存此次计算时间 nowtimestr := strconv.FormatInt(nowtime, 10) redishandler.GetRedisClient().HSet(redis.USER_LAST_CALC_TIME, strconv.Itoa(uuid), nowtimestr) - logger.Info("HandlerGetUserData save USER_LAST_CALC_TIME time=%v", nowtimestr) + //logger.Info("HandlerGetUserData save USER_LAST_CALC_TIME time=%v", nowtimestr) break } @@ -499,7 +499,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { uinfo.Gold += addgold uinfo.GoldSum += addgold uinfo.AddToRank() - logger.Info("HandlerGetMainPageInfo addgold=%v,resp=%+v", addgold, resp) + // logger.Info("HandlerGetMainPageInfo addgold=%v,resp=%+v", addgold, resp) SaveUserInfo(uinfo, strconv.Itoa(uuid)) } -- libgit2 0.21.0