- 因为有些平台(比如美团外卖)的定时达单,很早就创建运单了,特殊处理平台的新运单事件

- 定时达创建三方运单的逻辑与之前的有变化
This commit is contained in:
gazebo
2019-03-28 12:26:53 +08:00
parent 964b86b642
commit 920c67bb6f
3 changed files with 57 additions and 33 deletions

View File

@@ -18,14 +18,6 @@ const (
TimerStatusTypeWaybill = 1
)
const (
TimerTypeNoOverride = 0 // GetStatusActionConfig 返回表示不修改缺省配置
TimerTypeByPass = 1
TimerTypeBaseNow = 2
TimerTypeBaseStatusTime = 3
TimerTypeBaseExpectedDeliveredTime = 4 // 如果是定时达以expected delivery time倒推的时间当成statusTime之后与TimerTypeBaseStatusTime一样否则与TimerTypeBaseStatusTime相同
)
var (
CurrentScheduler IScheduler
)