- mtwm callback
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user