From ba576e82028c6bc35e68ec9b8b8589a550de7771 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 18 Feb 2019 11:13:55 +0800 Subject: [PATCH] - up --- platformapi/mtwmapi/callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/mtwmapi/callback.go b/platformapi/mtwmapi/callback.go index 2339c8da..1eb13d95 100644 --- a/platformapi/mtwmapi/callback.go +++ b/platformapi/mtwmapi/callback.go @@ -70,7 +70,7 @@ func (a *API) GetCallbackMsg(request *http.Request) (msg *CallbackMsg, callbackR // 美团外卖的用户催单信息的timestamp是毫秒(其它的事件是秒),统一归一化为秒 if cmd == MsgTypeUserUrgeOrder && k == "timestamp" { intV := utils.Str2Int64(v.(string)) - if intV > time.Now().Unix() { + if intV > time.Now().Unix()*2 { v = utils.Int64ToStr(intV / 1000) } }