From fcfe25797e1a15bd11711893673d2c8eab58a282 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, 23 Sep 2020 10:22:18 +0800 Subject: [PATCH] =?UTF-8?q?beta=E4=B8=8D=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxutils/unipush/push.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxutils/unipush/push.go b/business/jxutils/unipush/push.go index 32aac9f6c..acd099a4d 100644 --- a/business/jxutils/unipush/push.go +++ b/business/jxutils/unipush/push.go @@ -18,6 +18,9 @@ func pushToSingle(content, title string, storeID int) { var ( db = dao.GetDB() ) + if !globals.IsProductEnv() { + return + } storePushs, err := dao.GetStorePushClient(db, storeID, "") if err != nil { return