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

淘特

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