骑手已接单通知
This commit is contained in:
@@ -603,7 +603,11 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
|
||||
s.updateStoreAccount(order, bill)
|
||||
}
|
||||
}
|
||||
|
||||
//针对快送的订单(订单接单后会立马召唤骑手,不会到自动拣货完成)
|
||||
//如果骑手已接单,没有通知过的门店,需要发送通知
|
||||
if bill.Status == model.WaybillStatusAccepted && order.NotifyType == 0 {
|
||||
smsmsg.NotifyPickOrder(order)
|
||||
}
|
||||
//订单已经是结束状态之后来的运单143945553920000001
|
||||
if order.Status > model.OrderStatusEndBegin {
|
||||
s.ProxyCancelWaybill(order, bill, partner.CancelWaybillReasonNotAcceptIntime, partner.CancelWaybillReasonStrNotAcceptIntime)
|
||||
|
||||
Reference in New Issue
Block a user