From c5863204c813b115f04ee25629af72ed37a1e6de Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 1 Jul 2021 15:31:26 +0800 Subject: [PATCH] aa --- controllers/api_controller.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/controllers/api_controller.go b/controllers/api_controller.go index 07b7fd640..f98caae6e 100644 --- a/controllers/api_controller.go +++ b/controllers/api_controller.go @@ -106,14 +106,11 @@ func (c *ApiController) CallOpenAPI() { goto end } //判断timestamp传入是否正确begin + fmt.Println("data", timestamp, appID, method) if len(utils.Int64ToStr(timestamp)) != len(utils.Int64ToStr(now)) { err = buildTimestampParamErr() errCode = model.ErrCodeOpenAPIParamErrTimeStamp } - if now-timestamp < 500 { - err = buildTimestampParamErr() - errCode = model.ErrCodeOpenAPIParamErrTimeStamp - } //判断timestamp传入是否正确end if err != nil { goto end