提交 c8b7d058 authored 作者: zhanglibo's avatar zhanglibo

淘特

上级 f724dbe7
......@@ -45,13 +45,32 @@ type OrderBeforeRes struct {
ExtensionResp struct {
TradeId string `json:"tradeId"`
} `json:"extensionResp"`
InvalidOrderGroups []interface{} `json:"invalidOrderGroups"`
OriginPriceFee int `json:"originPriceFee"`
PriceFee int `json:"priceFee"`
PromotionResp OrderPromotion `json:"promotionResp"`
Quantity int `json:"quantity"`
RealPayPrice int `json:"realPayPrice"`
ReceiveMethodInfo struct {
InvalidOrderGroups []struct {
Image string `json:"image"`
OrderLineRenders []struct {
ErrorMessage struct {
ErrorCode string `json:"errorCode"`
ErrorMsg string `json:"errorMsg"`
} `json:"errorMessage"`
ItemInfo struct {
ItemId string `json:"itemId"`
SkuId string `json:"skuId"`
} `json:"itemInfo"`
ItemPayPrice int `json:"itemPayPrice"`
OrderLineId int64 `json:"orderLineId"`
Quantity int `json:"quantity"`
} `json:"orderLineRenders"`
OrderPayPrice int `json:"orderPayPrice"`
Quantity int `json:"quantity"`
SellerToken string `json:"sellerToken"`
Title string `json:"title"`
} `json:"invalidOrderGroups"`
OriginPriceFee int `json:"originPriceFee"`
PriceFee int `json:"priceFee"`
PromotionResp OrderPromotion `json:"promotionResp"`
Quantity int `json:"quantity"`
RealPayPrice int `json:"realPayPrice"`
ReceiveMethodInfo struct {
DeliveryAddressId int `json:"deliveryAddressId"`
Options []interface{} `json:"options"`
} `json:"receiveMethodInfo"`
......@@ -66,13 +85,17 @@ type OrderBeforeRes struct {
} `json:"deliveryMethodInfo"`
Image string `json:"image"`
OrderLineRenders []struct {
ErrorMessage struct {
ErrorCode string `json:"errorCode"`
ErrorMsg string `json:"errorMsg"`
}
ItemInfo struct {
ItemId string `json:"itemId"`
SkuId string `json:"skuId"`
} `json:"itemInfo"`
ItemPayPrice int `json:"itemPayPrice"`
OrderLineId string `json:"orderLineId"`
Quantity int `json:"quantity"`
ItemPayPrice int `json:"itemPayPrice"`
OrderLineId int64 `json:"orderLineId"`
Quantity int `json:"quantity"`
} `json:"orderLineRenders"`
OrderPayPrice int `json:"orderPayPrice"`
Quantity int `json:"quantity"`
......@@ -98,7 +121,7 @@ type OrderPromotion struct {
HasPromotion bool `json:"hasPromotion"`
IdValues []interface {
} `json:"idValues"`
OrderLineId string `json:"orderLineId"`
OrderLineId int64 `json:"orderLineId"`
PromotionPriceMap struct {
LtaoMonthPkCard int `json:"ltaoMonthPkCard"`
} `json:"promotionPriceMap"`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论