From 1c5a431c10d1b8e4bdfc47f6bb7bd25abcbd6b4c Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 14 Mar 2019 12:27:36 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=99=90=E5=88=B6=E5=B7=AE=E8=AF=84?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/oder_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/oder_comment.go b/business/jxcallback/orderman/oder_comment.go index 39f7ed1af..7112b0492 100644 --- a/business/jxcallback/orderman/oder_comment.go +++ b/business/jxcallback/orderman/oder_comment.go @@ -112,7 +112,7 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) ( comment2.Jxstoreid = utils.Int2Str(orderComment.StoreID) } comment2.Userphone = orderComment.ConsigneeMobile - if orderComment.StoreID > 0 && orderComment.Score <= JX_BAD_COMMENTS_MAX_LEVEL { + if orderComment.StoreID > 0 && orderComment.Score <= JX_BAD_COMMENTS_MAX_LEVEL && time.Now().Sub(orderComment.CommentCreatedAt) < MAX_REAPLY_TIME { if globals.ReallyCallPlatformAPI { weixinmsg.PushJDBadCommentToWeiXin(comment2) }