diff --git a/platformapi/jdshopapi/callback.go b/platformapi/jdshopapi/callback.go index 127be8d2..862e21a0 100644 --- a/platformapi/jdshopapi/callback.go +++ b/platformapi/jdshopapi/callback.go @@ -18,7 +18,7 @@ type CallBackResult struct { PayType string `json:"payType"` StoreID string `json:"storeId"` OrderTotalPrice string `json:"orderTotalPrice"` - OrderExt string `json:"orderExt"` + OrderExt *OrderExt `json:"orderExt"` StoreOrder string `json:"storeOrder"` OrderStartTime string `json:"orderStartTime"` OrderID string `json:"orderId"` diff --git a/platformapi/jdshopapi/order.go b/platformapi/jdshopapi/order.go index a37d3d8e..39aed700 100644 --- a/platformapi/jdshopapi/order.go +++ b/platformapi/jdshopapi/order.go @@ -88,19 +88,19 @@ type GetOrderResult struct { WareID string `json:"wareId"` GiftPoint string `json:"giftPoint"` } `json:"itemInfoList"` - 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"` + 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 {