- big refactor for scheduler.
This commit is contained in:
@@ -30,6 +30,28 @@ var (
|
||||
VendorIDDada: "达达众包",
|
||||
VendorIDMTPS: "美团配送",
|
||||
}
|
||||
|
||||
OrderStatusName = map[int]string{
|
||||
OrderStatusNew: "OrderStatusNew",
|
||||
OrderStatusAdjust: "OrderStatusAdjust",
|
||||
OrderStatusAccepted: "OrderStatusAccepted",
|
||||
OrderStatusFinishedPickup: "OrderStatusFinishedPickup",
|
||||
OrderStatusDelivering: "OrderStatusDelivering",
|
||||
OrderStatusDelivered: "OrderStatusDelivered",
|
||||
OrderStatusFinished: "OrderStatusFinished",
|
||||
OrderStatusCanceled: "OrderStatusCanceled",
|
||||
OrderStatusFailed: "OrderStatusFailed",
|
||||
}
|
||||
WaybillStatusName = map[int]string{
|
||||
WaybillStatusNew: "WaybillStatusNew",
|
||||
WaybillStatusAcceptCanceled: "WaybillStatusAcceptCanceled",
|
||||
WaybillStatusAccepted: "WaybillStatusAccepted",
|
||||
WaybillStatusCourierArrived: "WaybillStatusCourierArrived",
|
||||
WaybillStatusDelivering: "WaybillStatusDelivering",
|
||||
WaybillStatusDelivered: "WaybillStatusDelivered",
|
||||
WaybillStatusCanceled: "WaybillStatusCanceled",
|
||||
WaybillStatusFailed: "WaybillStatusFailed",
|
||||
}
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -93,3 +115,8 @@ const (
|
||||
WaybillStatusCanceled = 115
|
||||
WaybillStatusFailed = 120
|
||||
)
|
||||
|
||||
const (
|
||||
BusinessTypeImmediate = 1
|
||||
BusinessTypeDingshida = 2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user