From 8fea65d8dc38b4e20101f95dae559a55d2d8f352 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Fri, 5 Jun 2020 13:58:39 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/function.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index 507c6ba..151348b 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -1364,8 +1364,10 @@ func HandleRandWorldChat(ntime int) { var tmp QueryChatMessageData err = json.Unmarshal([]byte(laststr), &tmp) if err == nil { - if ntime-tmp.Chattime > 20*60 { + if ntime-tmp.Chattime >= 20*60 { isInsert = true + } else { + logger.Info("HandleRandWorldChat ntime=%v,tmp.Chattime=%v", ntime, tmp.Chattime) } } } -- libgit2 0.21.0