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

淘特

上级 455dd5a4
......@@ -36,7 +36,7 @@ type OrderItem struct {
ItemId int64 `json:"itemId"`
SkuId int64 `json:"skuId"`
} `json:"itemInfo"`
Quantity int `json:"quantity"`
Quantity uint `json:"quantity"`
}
type OrderBeforeRes struct {
......@@ -45,7 +45,7 @@ type OrderBeforeRes struct {
ExtensionResp struct {
TradeId string `json:"tradeId"`
} `json:"extensionResp"`
InvalidOrderGroups []struct {
InvalidOrderGroups []struct { //不可售商品
Image string `json:"image"`
OrderLineRenders []struct {
ErrorMessage struct {
......@@ -56,28 +56,28 @@ type OrderBeforeRes struct {
ItemId string `json:"itemId"`
SkuId string `json:"skuId"`
} `json:"itemInfo"`
ItemPayPrice int `json:"itemPayPrice"`
ItemPayPrice uint `json:"itemPayPrice"`
OrderLineId int64 `json:"orderLineId"`
Quantity int `json:"quantity"`
Quantity uint `json:"quantity"`
} `json:"orderLineRenders"`
OrderPayPrice int `json:"orderPayPrice"`
Quantity int `json:"quantity"`
Quantity uint `json:"quantity"`
SellerToken string `json:"sellerToken"`
Title string `json:"title"`
} `json:"invalidOrderGroups"`
OriginPriceFee int `json:"originPriceFee"`
PriceFee int `json:"priceFee"`
OriginPriceFee uint `json:"originPriceFee"`
PriceFee uint `json:"priceFee"` //单位分
PromotionResp OrderPromotion `json:"promotionResp"`
Quantity int `json:"quantity"`
RealPayPrice int `json:"realPayPrice"`
Quantity uint `json:"quantity"`
RealPayPrice uint `json:"realPayPrice"`
ReceiveMethodInfo struct {
DeliveryAddressId int `json:"deliveryAddressId"`
Options []interface{} `json:"options"`
} `json:"receiveMethodInfo"`
ValidOrderGroups []struct {
ValidOrderGroups []struct { //可售商品
DeliveryMethodInfo struct {
DeliveryMethodOptionList []struct {
FareCent uint `json:"fareCent"`
FareCent uint `json:"fareCent"` //运费 单位分
Id string `json:"id"`
ServiceType int `json:"serviceType"`
} `json:"deliveryMethodOptionList"`
......@@ -93,12 +93,12 @@ type OrderBeforeRes struct {
ItemId string `json:"itemId"`
SkuId string `json:"skuId"`
} `json:"itemInfo"`
ItemPayPrice int `json:"itemPayPrice"`
ItemPayPrice uint `json:"itemPayPrice"`
OrderLineId int64 `json:"orderLineId"`
Quantity int `json:"quantity"`
Quantity uint `json:"quantity"`
} `json:"orderLineRenders"`
OrderPayPrice int `json:"orderPayPrice"`
Quantity int `json:"quantity"`
OrderPayPrice uint `json:"orderPayPrice"`
Quantity uint `json:"quantity"`
SellerToken string `json:"sellerToken"`
Title string `json:"title"`
} `json:"validOrderGroups"`
......@@ -164,7 +164,7 @@ type OrderCreateItem struct {
type OrderCreateDto struct {
GoodsID int64 `json:"itemId"`
SkuId int64 `json:"skuId"`
Quantity int `json:"buyQuantity"`
Quantity uint `json:"buyQuantity"`
LineId int64 `json:"orderLineId"`
}
......@@ -307,19 +307,19 @@ type OrderReflectRes struct {
Result struct {
Result struct {
BizOrderId string `json:"bizOrderId"`
BuyAmount int `json:"buyAmount"`
BuyAmount uint `json:"buyAmount"`
BuyerToken string `json:"buyerToken"`
Detail int `json:"detail"`
DetailOrderList []struct {
BizOrderId string `json:"bizOrderId"`
BuyAmount int `json:"buyAmount"`
BuyAmount uint `json:"buyAmount"`
BuyerToken string `json:"buyerToken"`
Detail int `json:"detail"`
GmtCreate string `json:"gmtCreate"`
ItemInfo struct {
ItemId string `json:"itemId"`
Pic string `json:"pic"`
Price string `json:"price"`
Price uint `json:"price"`
SkuId string `json:"skuId"`
SkuInfoList []interface{} `json:"skuInfoList"`
Title string `json:"title"`
......@@ -340,7 +340,7 @@ type OrderReflectRes struct {
ItemInfo struct {
ItemId string `json:"itemId"`
Pic string `json:"pic"`
Price string `json:"price"`
Price uint `json:"price"`
SkuId string `json:"skuId"`
SkuInfoList []interface{} `json:"skuInfoList"`
Title string `json:"title"`
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论