This commit is contained in:
苏尹岚
2020-11-26 18:22:29 +08:00
parent 90efd04463
commit 2b1dde2931
2 changed files with 10 additions and 12 deletions

View File

@@ -391,7 +391,7 @@ func (s *DefScheduler) OnOrderNew(order *model.GoodsOrder, isPending bool) (err
}
OrderProfitWarning(order)
smsmsg.NotifyNewOrder(order)
smsmsg.NotifyNewUserOrder(order)
// smsmsg.NotifyNewUserOrder(order)
push.NotifyNewOrder(order)
})
}
@@ -555,7 +555,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
s.resetTimer(savedOrderInfo, bill, isPending)
s.saveDeliveryFeeFromAndStartWatch(savedOrderInfo, bill.StatusTime)
}
s.sendCourierOrderSMS(bill)
// s.sendCourierOrderSMS(bill)
} else {
isBillExist := s.updateBillsInfo(savedOrderInfo, bill)
if !isBillExist {
@@ -1514,10 +1514,8 @@ func (s *DefScheduler) notifyNewOrder(order *model.GoodsOrder) {
weixinmsg.NotifyNewOrder(order)
}
OrderProfitWarning(order)
if order.VendorID != model.VendorIDJDShop {
smsmsg.NotifyNewOrder(order)
smsmsg.NotifyNewUserOrder(order)
}
smsmsg.NotifyNewOrder(order)
// smsmsg.NotifyNewUserOrder(order)
push.NotifyNewOrder(order)
})
}