添加三个平台订单信息中关于配送类型的注释

This commit is contained in:
gazebo
2019-11-06 14:13:08 +08:00
parent 249f6e57dc
commit 47e07b5bb0
3 changed files with 67 additions and 57 deletions

View File

@@ -178,7 +178,7 @@ type OrderDetailInfo struct {
Commission int `json:"commission"`
ConfirmTime string `json:"confirm_time"`
CreateTime string `json:"create_time"`
DeliveryParty int `json:"delivery_party"`
DeliveryParty int `json:"delivery_party"` // 此字段会在配送变化后变化
DeliveryPhone string `json:"delivery_phone"`
DeliveryTime int `json:"delivery_time"`
DiscountFee int `json:"discount_fee"`

View File

@@ -227,7 +227,7 @@ type OrderInfo struct {
ClientOrderPreStartDeliveryTime string `json:"clientOrderPreStartDeliveryTime"`
DeliveryBillNo string `json:"deliveryBillNo"`
DeliveryCarrierName string `json:"deliveryCarrierName"`
DeliveryCarrierNo string `json:"deliveryCarrierNo"`
DeliveryCarrierNo string `json:"deliveryCarrierNo"` // 此字段会在配送变化后变化
DeliveryDelayAgreed int `json:"deliveryDelayAgreed"`
DeliveryPackageVolume float64 `json:"deliveryPackageVolume"`
DeliveryPackageWeight float64 `json:"deliveryPackageWeight"`

View File

@@ -226,7 +226,7 @@ type OrderInfo struct {
Detail string `json:"detail"`
DetailList []*FoodInfo `json:"detailList"`
DinnersNumber int `json:"dinners_number"`
ExpectDeliverTime int `json:"expect_deliver_time"`
ExpectDeliverTime int64 `json:"expect_deliver_time"`
Extras string `json:"extras"`
ExtraList []*OrderExtraInfo `json:"extraList"`
HasInvoiced int `json:"has_invoiced"`
@@ -236,8 +236,18 @@ type OrderInfo struct {
IsPre int `json:"is_pre"`
IsThirdShipping int `json:"is_third_shipping"`
Latitude float64 `json:"latitude"`
LogisticsCode string `json:"logistics_code"`
Longitude float64 `json:"longitude"`
LogisticsCancelTime int64 `json:"logistics_cancel_time"`
LogisticsCode string `json:"logistics_code"` // 此字段是配送方式变化后,不会改变
LogisticsCompletedTime int64 `json:"logistics_completed_time"`
LogisticsConfirmTime int64 `json:"logistics_confirm_time"`
LogisticsDispatcherMobile string `json:"logistics_dispatcher_mobile"`
LogisticsDispatcherName string `json:"logistics_dispatcher_name"`
LogisticsFetchTime int64 `json:"logistics_fetch_time"`
LogisticsID int `json:"logistics_id"`
LogisticsName string `json:"logistics_name"`
LogisticsSendTime int64 `json:"logistics_send_time"`
LogisticsStatus int `json:"logistics_status"`
OrderCompletedTime int `json:"order_completed_time"`
OrderConfirmTime int `json:"order_confirm_time"`
OrderID int64 `json:"order_id"`