- 美团外卖常量注释

This commit is contained in:
gazebo
2019-04-02 16:31:43 +08:00
parent e550a24ce1
commit fe2337aa3d

View File

@@ -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 (