1
This commit is contained in:
@@ -88,7 +88,7 @@ func (a *API) AccessAPI(action string, url string, bizParams map[string]interfac
|
||||
|
||||
func (a *API) GetStationList() (err error) {
|
||||
params := make(map[string]interface{})
|
||||
params["platformName"] = a.platformName
|
||||
// params["platformName"] = a.platformName
|
||||
sign := a.signParam(params)
|
||||
_, err = a.AccessAPI("oreo/ejiayou_open_api/stations/v2/"+a.platformName+"/"+sign+"/"+utils.Int64ToStr(a.timeStamp), TestUrl, nil)
|
||||
return err
|
||||
|
||||
@@ -88,19 +88,27 @@ type GetOrderResult struct {
|
||||
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"`
|
||||
Pin string `json:"pin"`
|
||||
IDSopShipmenttype string `json:"idSopShipmenttype"`
|
||||
ScDT string `json:"scDT"`
|
||||
SellerDiscount string `json:"sellerDiscount"`
|
||||
MenDianID string `json:"menDianId"`
|
||||
StoreID string `json:"storeId"`
|
||||
OrderTotalPrice string `json:"orderTotalPrice"`
|
||||
OrderExt OrderExt `json:"orderExt"`
|
||||
StoreOrder string `json:"storeOrder"`
|
||||
OrderStartTime string `json:"orderStartTime"`
|
||||
OrderID string `json:"orderId"`
|
||||
OrderSource string `json:"orderSource"`
|
||||
FreightPrice string `json:"freightPrice"`
|
||||
Pin string `json:"pin"`
|
||||
IDSopShipmenttype string `json:"idSopShipmenttype"`
|
||||
ScDT string `json:"scDT"`
|
||||
SellerDiscount string `json:"sellerDiscount"`
|
||||
MenDianID string `json:"menDianId"`
|
||||
}
|
||||
|
||||
type OrderExt struct {
|
||||
O2ODeliveryTime string `json:"o2oDeliveryTime"`
|
||||
AerfaTimeIDSopShipmentType string `json:"aerfaTime.idSopShipmentType"`
|
||||
StoreName string `json:"storeName"`
|
||||
Road string `json:"road"`
|
||||
Contact string `json:"contact"`
|
||||
}
|
||||
|
||||
//查询单个订单
|
||||
|
||||
Reference in New Issue
Block a user