- 根据“您好,近期饿百零售开放平台对订单相关接口中部分字段进行调整,平台将从8月29日起根据门店维度逐步灰度,预计9月底全量。请开发者关注”调整
This commit is contained in:
@@ -41,6 +41,7 @@ const (
|
|||||||
WaybillStatusSelfDelivery = "18" // 自行配送
|
WaybillStatusSelfDelivery = "18" // 自行配送
|
||||||
WaybillStatusDontDeliver = "19" // 不再配送
|
WaybillStatusDontDeliver = "19" // 不再配送
|
||||||
WaybillStatusDeliveryRejected = "20" // 配送拒单
|
WaybillStatusDeliveryRejected = "20" // 配送拒单
|
||||||
|
WaybillStatusCourierArrived = "21" // 骑士到店
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -188,31 +189,31 @@ type OrderDetailInfo struct {
|
|||||||
Ext struct {
|
Ext struct {
|
||||||
TaoxiFlag int `json:"taoxi_flag"`
|
TaoxiFlag int `json:"taoxi_flag"`
|
||||||
} `json:"ext"`
|
} `json:"ext"`
|
||||||
FinishedTime string `json:"finished_time"`
|
FinishedTime string `json:"finished_time"`
|
||||||
InvoiceTitle string `json:"invoice_title"`
|
InvoiceTitle string `json:"invoice_title"`
|
||||||
IsColdBoxOrder int `json:"is_cold_box_order"`
|
IsColdBoxOrder int `json:"is_cold_box_order"`
|
||||||
IsPrivate int `json:"is_private"`
|
IsPrivate int `json:"is_private"`
|
||||||
LatestSendTime int `json:"latest_send_time"`
|
LatestSendTime int `json:"latest_send_time"`
|
||||||
MealNum string `json:"meal_num"`
|
MealNum string `json:"meal_num"`
|
||||||
NeedInvoice int `json:"need_invoice"`
|
NeedInvoice int `json:"need_invoice"`
|
||||||
OrderFlag int `json:"order_flag"`
|
OrderFlag int `json:"order_flag"`
|
||||||
OrderFrom string `json:"order_from"`
|
OrderFrom string `json:"order_from"`
|
||||||
OrderID string `json:"order_id"`
|
OrderID string `json:"order_id"`
|
||||||
OrderIndex string `json:"order_index"`
|
OrderIndex string `json:"order_index"`
|
||||||
PackageFee int `json:"package_fee"`
|
PackageFee int `json:"package_fee"`
|
||||||
PayStatus int `json:"pay_status"`
|
PayStatus int `json:"pay_status"`
|
||||||
PayType int `json:"pay_type"`
|
PayType int `json:"pay_type"`
|
||||||
PickupTime int `json:"pickup_time"`
|
PickupTime int `json:"pickup_time"`
|
||||||
Remark string `json:"remark"`
|
Remark string `json:"remark"`
|
||||||
ResponsibleParty string `json:"responsible_party"`
|
// ResponsibleParty string `json:"responsible_party"`
|
||||||
SendFee int `json:"send_fee"`
|
SendFee int `json:"send_fee"`
|
||||||
SendImmediately int `json:"send_immediately"`
|
SendImmediately int `json:"send_immediately"`
|
||||||
SendTime int `json:"send_time"`
|
SendTime int `json:"send_time"`
|
||||||
ShopFee int `json:"shop_fee"`
|
ShopFee int `json:"shop_fee"`
|
||||||
Status int `json:"status"`
|
Status int `json:"status"`
|
||||||
TaxerID string `json:"taxer_id"`
|
TaxerID string `json:"taxer_id"`
|
||||||
TotalFee int `json:"total_fee"`
|
TotalFee int `json:"total_fee"`
|
||||||
UserFee int `json:"user_fee"`
|
UserFee int `json:"user_fee"`
|
||||||
} `json:"order"`
|
} `json:"order"`
|
||||||
Products [][]*OrderProductInfo `json:"products"`
|
Products [][]*OrderProductInfo `json:"products"`
|
||||||
Shop *struct {
|
Shop *struct {
|
||||||
@@ -223,8 +224,8 @@ type OrderDetailInfo struct {
|
|||||||
Source string `json:"source"`
|
Source string `json:"source"`
|
||||||
User *struct {
|
User *struct {
|
||||||
Address string `json:"address"`
|
Address string `json:"address"`
|
||||||
City string `json:"city"`
|
// City string `json:"city"`
|
||||||
Coord *struct {
|
Coord *struct {
|
||||||
Latitude string `json:"latitude"`
|
Latitude string `json:"latitude"`
|
||||||
Longitude string `json:"longitude"`
|
Longitude string `json:"longitude"`
|
||||||
} `json:"coord"`
|
} `json:"coord"`
|
||||||
@@ -232,13 +233,13 @@ type OrderDetailInfo struct {
|
|||||||
Latitude string `json:"latitude"`
|
Latitude string `json:"latitude"`
|
||||||
Longitude string `json:"longitude"`
|
Longitude string `json:"longitude"`
|
||||||
} `json:"coord_amap"`
|
} `json:"coord_amap"`
|
||||||
District string `json:"district"`
|
// District string `json:"district"`
|
||||||
Gender string `json:"gender"`
|
Gender string `json:"gender"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Phone string `json:"phone"`
|
Phone string `json:"phone"`
|
||||||
PrivacyPhone string `json:"privacy_phone"`
|
PrivacyPhone string `json:"privacy_phone"`
|
||||||
Province string `json:"province"`
|
// Province string `json:"province"`
|
||||||
UserID string `json:"user_id"`
|
UserID string `json:"user_id"`
|
||||||
} `json:"user"`
|
} `json:"user"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user