- mtwm callback

This commit is contained in:
gazebo
2018-11-28 00:46:34 +08:00
parent ddfe0966a6
commit 0023deb3dc
2 changed files with 48 additions and 0 deletions

View File

@@ -8,6 +8,25 @@ const (
MaxBatchPullPhoneNumberLimit = 1000
)
const (
OrderStatusUserCommitted = "1"
OrderStatusNew = "2"
OrderStatusReceived = "3"
OrderStatusAccepted = "4"
OrderStatusDelivering = "6"
OrderStatusDelivered = "7"
OrderStatusFinished = "8"
OrderStatusCanceled = "9"
)
const (
WaybillStatusWait4Delivery = "0"
WaybillStatusAccepted = "10"
WaybillStatusCourierArrived = "15"
WaybillStatusPickedup = "20"
WaybillStatusCanceled = "100"
)
func (a *API) OrderReceived(orderID int64) (err error) {
_, err = a.AccessAPI("order/poi_received", true, map[string]interface{}{
KeyOrderID: orderID,