京东商城订单result
This commit is contained in:
@@ -44,56 +44,48 @@ func (a *API) GetDeliveryCompany() (result interface{}, err error) {
|
||||
}
|
||||
|
||||
type GetOrderResult struct {
|
||||
OrderInfo struct {
|
||||
OrderStateRemark string `json:"orderStateRemark"`
|
||||
OrderRemark string `json:"orderRemark"`
|
||||
OrderSellerPrice string `json:"orderSellerPrice"`
|
||||
OrderState string `json:"orderState"`
|
||||
OrderType string `json:"orderType"`
|
||||
ConsigneeInfo struct {
|
||||
ProvinceID string `json:"provinceId"`
|
||||
FullAddress string `json:"fullAddress"`
|
||||
CityID string `json:"cityId"`
|
||||
TownID string `json:"townId"`
|
||||
City string `json:"city"`
|
||||
County string `json:"county"`
|
||||
Province string `json:"province"`
|
||||
Town string `json:"town"`
|
||||
Telephone string `json:"telephone"`
|
||||
Fullname string `json:"fullname"`
|
||||
CountyID string `json:"countyId"`
|
||||
Mobile string `json:"mobile"`
|
||||
} `json:"consigneeInfo"`
|
||||
OrderPayment string `json:"orderPayment"`
|
||||
PayType string `json:"payType"`
|
||||
ItemInfoList []struct {
|
||||
ProductNo string `json:"productNo"`
|
||||
ItemTotal string `json:"itemTotal"`
|
||||
JdPrice string `json:"jdPrice"`
|
||||
SkuName string `json:"skuName"`
|
||||
InvoiceContentID string `json:"invoiceContentId"`
|
||||
ItemExt string `json:"itemExt"`
|
||||
NewStoreID string `json:"newStoreId"`
|
||||
OuterSkuID string `json:"outerSkuId"`
|
||||
SkuID string `json:"skuId"`
|
||||
WareID string `json:"wareId"`
|
||||
GiftPoint string `json:"giftPoint"`
|
||||
} `json:"itemInfoList"`
|
||||
StoreID string `json:"storeId"`
|
||||
OrderTotalPrice string `json:"orderTotalPrice"`
|
||||
OrderExt string `json:"orderExt"`
|
||||
StoreOrder string `json:"storeOrder"`
|
||||
OrderStartTime string `json:"orderStartTime"`
|
||||
OrderID string `json:"orderId"`
|
||||
OrderSource string `json:"orderSource"`
|
||||
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"`
|
||||
OrderStateRemark string `json:"orderStateRemark"`
|
||||
OrderRemark string `json:"orderRemark"`
|
||||
OrderSellerPrice string `json:"orderSellerPrice"`
|
||||
OrderState string `json:"orderState"`
|
||||
OrderType string `json:"orderType"`
|
||||
ConsigneeInfo struct {
|
||||
ProvinceID string `json:"provinceId"`
|
||||
FullAddress string `json:"fullAddress"`
|
||||
CityID string `json:"cityId"`
|
||||
TownID string `json:"townId"`
|
||||
City string `json:"city"`
|
||||
County string `json:"county"`
|
||||
Province string `json:"province"`
|
||||
Town string `json:"town"`
|
||||
Telephone string `json:"telephone"`
|
||||
Fullname string `json:"fullname"`
|
||||
CountyID string `json:"countyId"`
|
||||
Mobile string `json:"mobile"`
|
||||
} `json:"consigneeInfo"`
|
||||
OrderPayment string `json:"orderPayment"`
|
||||
PayType string `json:"payType"`
|
||||
ItemInfoList []struct {
|
||||
ProductNo string `json:"productNo"`
|
||||
ItemTotal string `json:"itemTotal"`
|
||||
JdPrice string `json:"jdPrice"`
|
||||
SkuName string `json:"skuName"`
|
||||
InvoiceContentID string `json:"invoiceContentId"`
|
||||
ItemExt string `json:"itemExt"`
|
||||
NewStoreID string `json:"newStoreId"`
|
||||
OuterSkuID string `json:"outerSkuId"`
|
||||
SkuID string `json:"skuId"`
|
||||
WareID string `json:"wareId"`
|
||||
GiftPoint string `json:"giftPoint"`
|
||||
} `json:"itemInfoList"`
|
||||
StoreID string `json:"storeId"`
|
||||
OrderTotalPrice string `json:"orderTotalPrice"`
|
||||
OrderExt string `json:"orderExt"`
|
||||
StoreOrder string `json:"storeOrder"`
|
||||
OrderStartTime string `json:"orderStartTime"`
|
||||
OrderID string `json:"orderId"`
|
||||
OrderSource string `json:"orderSource"`
|
||||
FreightPrice string `json:"freightPrice"`
|
||||
}
|
||||
|
||||
//查询单个订单
|
||||
|
||||
Reference in New Issue
Block a user