京东商城订单result

This commit is contained in:
苏尹岚
2020-07-22 14:45:59 +08:00
parent a62b19d1db
commit 6926d07bed

View File

@@ -44,56 +44,48 @@ func (a *API) GetDeliveryCompany() (result interface{}, err error) {
} }
type GetOrderResult struct { type GetOrderResult struct {
OrderInfo struct { OrderStateRemark string `json:"orderStateRemark"`
OrderStateRemark string `json:"orderStateRemark"` OrderRemark string `json:"orderRemark"`
OrderRemark string `json:"orderRemark"` OrderSellerPrice string `json:"orderSellerPrice"`
OrderSellerPrice string `json:"orderSellerPrice"` OrderState string `json:"orderState"`
OrderState string `json:"orderState"` OrderType string `json:"orderType"`
OrderType string `json:"orderType"` ConsigneeInfo struct {
ConsigneeInfo struct { ProvinceID string `json:"provinceId"`
ProvinceID string `json:"provinceId"` FullAddress string `json:"fullAddress"`
FullAddress string `json:"fullAddress"` CityID string `json:"cityId"`
CityID string `json:"cityId"` TownID string `json:"townId"`
TownID string `json:"townId"` City string `json:"city"`
City string `json:"city"` County string `json:"county"`
County string `json:"county"` Province string `json:"province"`
Province string `json:"province"` Town string `json:"town"`
Town string `json:"town"` Telephone string `json:"telephone"`
Telephone string `json:"telephone"` Fullname string `json:"fullname"`
Fullname string `json:"fullname"` CountyID string `json:"countyId"`
CountyID string `json:"countyId"` Mobile string `json:"mobile"`
Mobile string `json:"mobile"` } `json:"consigneeInfo"`
} `json:"consigneeInfo"` OrderPayment string `json:"orderPayment"`
OrderPayment string `json:"orderPayment"` PayType string `json:"payType"`
PayType string `json:"payType"` ItemInfoList []struct {
ItemInfoList []struct { ProductNo string `json:"productNo"`
ProductNo string `json:"productNo"` ItemTotal string `json:"itemTotal"`
ItemTotal string `json:"itemTotal"` JdPrice string `json:"jdPrice"`
JdPrice string `json:"jdPrice"` SkuName string `json:"skuName"`
SkuName string `json:"skuName"` InvoiceContentID string `json:"invoiceContentId"`
InvoiceContentID string `json:"invoiceContentId"` ItemExt string `json:"itemExt"`
ItemExt string `json:"itemExt"` NewStoreID string `json:"newStoreId"`
NewStoreID string `json:"newStoreId"` OuterSkuID string `json:"outerSkuId"`
OuterSkuID string `json:"outerSkuId"` SkuID string `json:"skuId"`
SkuID string `json:"skuId"` WareID string `json:"wareId"`
WareID string `json:"wareId"` GiftPoint string `json:"giftPoint"`
GiftPoint string `json:"giftPoint"` } `json:"itemInfoList"`
} `json:"itemInfoList"` StoreID string `json:"storeId"`
StoreID string `json:"storeId"` OrderTotalPrice string `json:"orderTotalPrice"`
OrderTotalPrice string `json:"orderTotalPrice"` OrderExt string `json:"orderExt"`
OrderExt string `json:"orderExt"` StoreOrder string `json:"storeOrder"`
StoreOrder string `json:"storeOrder"` OrderStartTime string `json:"orderStartTime"`
OrderStartTime string `json:"orderStartTime"` OrderID string `json:"orderId"`
OrderID string `json:"orderId"` OrderSource string `json:"orderSource"`
OrderSource string `json:"orderSource"` FreightPrice string `json:"freightPrice"`
FreightPrice string `json:"freightPrice"`
} `json:"orderInfo"`
APIResult struct {
EnglishErrCode string `json:"englishErrCode"`
Success bool `json:"success"`
ChineseErrCode string `json:"chineseErrCode"`
NumberCode int `json:"numberCode"`
} `json:"apiResult"`
} }
//查询单个订单 //查询单个订单