From fe2337aa3dff1029617543435f82ee31ba05f84d Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 2 Apr 2019 16:31:43 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E7=BE=8E=E5=9B=A2=E5=A4=96=E5=8D=96?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/mtwmapi/order.go | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) 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 (