diff --git a/platformapi/jdshopapi/callback.go b/platformapi/jdshopapi/callback.go index 862e21a0..3eebff90 100644 --- a/platformapi/jdshopapi/callback.go +++ b/platformapi/jdshopapi/callback.go @@ -9,16 +9,16 @@ import ( ) type CallBackResult struct { - OrderStateRemark string `json:"orderStateRemark"` - OrderRemark string `json:"orderRemark"` - OrderSellerPrice string `json:"orderSellerPrice"` - OrderState string `json:"orderState"` - OrderType string `json:"orderType"` - OrderPayment string `json:"orderPayment"` - PayType string `json:"payType"` - StoreID string `json:"storeId"` - OrderTotalPrice string `json:"orderTotalPrice"` - OrderExt *OrderExt `json:"orderExt"` + OrderStateRemark string `json:"orderStateRemark"` + OrderRemark string `json:"orderRemark"` + OrderSellerPrice string `json:"orderSellerPrice"` + OrderState string `json:"orderState"` + OrderType string `json:"orderType"` + OrderPayment string `json:"orderPayment"` + PayType string `json:"payType"` + StoreID string `json:"storeId"` + OrderTotalPrice string `json:"orderTotalPrice"` + // 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 40ab3f4d..9a77dcac 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 {