a
This commit is contained in:
@@ -591,6 +591,10 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
|
||||
if order.VendorID == model.VendorIDJDShop {
|
||||
s.solutionJdsOrder(bill)
|
||||
}
|
||||
//如果是商城的订单, 骑手取货时,需要发短信提醒
|
||||
if bill.Status == model.WaybillStatusDelivering && order.VendorID == model.VendorIDJX && order.OrderType == model.OrderTypeNormal {
|
||||
smsmsg.NotifyJxOrder(order, bill)
|
||||
}
|
||||
//门店发单的门店,需要根据实际运费更新账户(多退少补)
|
||||
if storeDetail, err2 := dao.GetStoreDetail(dao.GetDB(), jxutils.GetSaleStoreIDFromOrder(order), order.VendorID, ""); err2 == nil {
|
||||
if storeDetail.CreateDeliveryType == model.YES {
|
||||
|
||||
Reference in New Issue
Block a user