From 3adb04beba430c5985dd63678c1c59684cce8d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 10 Jun 2020 09:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E5=B1=8F=E8=94=BDmain=20=E4=BA=AC?= =?UTF-8?q?=E4=B8=9C=E5=95=86=E5=9F=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 9485047cf..6d77b0f82 100644 --- a/main.go +++ b/main.go @@ -145,9 +145,9 @@ func main() { return } - if globals.IsProductEnv() { - orderman.SaveJdsOrders(nil, time.Now().Add(-2*time.Hour), time.Now()) - } + // if globals.IsProductEnv() { + // orderman.SaveJdsOrders(nil, time.Now().Add(-2*time.Hour), time.Now()) + // } orderman.LoadPendingOrders() // 延时的原因是等回调准备好