diff --git a/platformapi/mtwmapi/order.go b/platformapi/mtwmapi/order.go index fce2437f..6825b1ce 100644 --- a/platformapi/mtwmapi/order.go +++ b/platformapi/mtwmapi/order.go @@ -8,24 +8,25 @@ const ( MaxBatchPullPhoneNumberLimit = 1000 ) +// http://developer.waimai.meituan.com/home/doc/food/99 const ( - OrderStatusUserCommitted = "1" - OrderStatusNew = "2" - OrderStatusReceived = "3" - OrderStatusAccepted = "4" - OrderStatusDelivering = "6" - OrderStatusDelivered = "7" - OrderStatusFinished = "8" - OrderStatusCanceled = "9" + 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" - WaybillStatusDelivered = "40" - WaybillStatusCanceled = "100" + WaybillStatusWait4Delivery = "0" // 配送单发往配送 + WaybillStatusAccepted = "10" // 配送单已确认 + WaybillStatusCourierArrived = "15" // 骑手已到店 + WaybillStatusPickedup = "20" // 骑手已取餐 + WaybillStatusDelivered = "40" // 骑手已送达 + WaybillStatusCanceled = "100" // 配送单已取消 ) const (