From f77bf064dcdd77f6e11b366b0e4a8f5c8b989469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 11 Sep 2020 17:56:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E9=80=81app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/scheduler/defsch/defsch.go | 2 ++ business/jxutils/unipush/{unipush.go => push.go} | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) rename business/jxutils/unipush/{unipush.go => push.go} (99%) diff --git a/business/jxcallback/scheduler/defsch/defsch.go b/business/jxcallback/scheduler/defsch/defsch.go index 1fed69dcc..d03f0a066 100644 --- a/business/jxcallback/scheduler/defsch/defsch.go +++ b/business/jxcallback/scheduler/defsch/defsch.go @@ -1,6 +1,7 @@ package defsch import ( + "git.rosy.net.cn/jx-callback/business/jxutils/unipush" "fmt" "math/rand" "sync" @@ -1470,6 +1471,7 @@ func (s *DefScheduler) notifyNewOrder(order *model.GoodsOrder) { smsmsg.NotifyNewOrder(order) smsmsg.NotifyNewUserOrder(order) } + push.NotifyNewOrder(order) }) } } diff --git a/business/jxutils/unipush/unipush.go b/business/jxutils/unipush/push.go similarity index 99% rename from business/jxutils/unipush/unipush.go rename to business/jxutils/unipush/push.go index 278db43a4..288bc68e3 100644 --- a/business/jxutils/unipush/unipush.go +++ b/business/jxutils/unipush/push.go @@ -1,4 +1,4 @@ -package unipush +package push import ( "strings"