- use ebai api to controll order flow.

This commit is contained in:
gazebo
2018-11-19 09:45:14 +08:00
parent ab5013e7a9
commit 743f2c5588
3 changed files with 27 additions and 22 deletions

View File

@@ -466,7 +466,7 @@ func (s *DefScheduler) removeWaybillFromMap(savedOrderInfo *WatchOrderInfo, wayb
func (s *DefScheduler) createWaybillOn3rdProviders(savedOrderInfo *WatchOrderInfo, excludeBill *model.Waybill) (err error) {
order := savedOrderInfo.order
globals.SugarLogger.Debugf("createWaybillOn3rdProviders, orderID:%s, status:%d, excludeBill:%v", order.VendorOrderID, order.Status, excludeBill)
if order.VendorID == model.VendorIDEBAI {
if order.VendorID == model.VendorIDELM {
return nil
}
if order.WaybillVendorID == model.VendorIDUnknown {