- 根据“您好,近期饿百零售开放平台对订单相关接口中部分字段进行调整,平台将从8月29日起根据门店维度逐步灰度,预计9月底全量。请开发者关注”调整

This commit is contained in:
gazebo
2019-08-27 16:15:37 +08:00
parent 53a2aa46f2
commit 4170b5903f

View File

@@ -41,6 +41,7 @@ const (
WaybillStatusSelfDelivery = "18" // 自行配送
WaybillStatusDontDeliver = "19" // 不再配送
WaybillStatusDeliveryRejected = "20" // 配送拒单
WaybillStatusCourierArrived = "21" // 骑士到店
)
const (
@@ -204,7 +205,7 @@ type OrderDetailInfo struct {
PayType int `json:"pay_type"`
PickupTime int `json:"pickup_time"`
Remark string `json:"remark"`
ResponsibleParty string `json:"responsible_party"`
// ResponsibleParty string `json:"responsible_party"`
SendFee int `json:"send_fee"`
SendImmediately int `json:"send_immediately"`
SendTime int `json:"send_time"`
@@ -223,7 +224,7 @@ type OrderDetailInfo struct {
Source string `json:"source"`
User *struct {
Address string `json:"address"`
City string `json:"city"`
// City string `json:"city"`
Coord *struct {
Latitude string `json:"latitude"`
Longitude string `json:"longitude"`
@@ -232,12 +233,12 @@ type OrderDetailInfo struct {
Latitude string `json:"latitude"`
Longitude string `json:"longitude"`
} `json:"coord_amap"`
District string `json:"district"`
// District string `json:"district"`
Gender string `json:"gender"`
Name string `json:"name"`
Phone string `json:"phone"`
PrivacyPhone string `json:"privacy_phone"`
Province string `json:"province"`
// Province string `json:"province"`
UserID string `json:"user_id"`
} `json:"user"`
}