- model.WaybillStatusNeverSend

- try to set ebai sku weight
This commit is contained in:
gazebo
2018-11-27 10:27:32 +08:00
parent a3cddd891e
commit 4fbfcdb13e
6 changed files with 25 additions and 3 deletions

View File

@@ -447,6 +447,12 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
if !isPending {
weixinmsg.NotifyWaybillStatus(bill, order)
}
case model.WaybillStatusNeverSend: // 平台不配送,直接创建三方运单
s.resetTimer(savedOrderInfo, bill, isPending)
s.removeWaybillFromMap(savedOrderInfo, bill.WaybillVendorID)
if order.WaybillVendorID == model.VendorIDUnknown {
s.createWaybillOn3rdProviders(savedOrderInfo, nil)
}
}
}
// }