提交 9959aaa3 authored 作者: zhanglibo's avatar zhanglibo

阿里返回值

上级 950022c6
......@@ -22,6 +22,7 @@ type AddressParseRes struct {
}
type AddressGetRes struct {
CommonRes
Result struct {
Code string `json:"code"`
Name string `json:"name"`
......@@ -31,6 +32,7 @@ type AddressGetRes struct {
} `json:"result"`
}
type AddressGetChildRes struct {
CommonRes
Result []struct {
Code string `json:"code"`
Name string `json:"name"`
......
......@@ -27,7 +27,7 @@ type GoodsListReq struct {
type GoodsListRes struct {
Result struct {
*CommonRes
CommonRes
TotalCount int `json:"totalCount"` //总数
Result []struct {
Title string `json:"title"` //商品标题
......@@ -50,7 +50,7 @@ type GoodsInfoReq struct {
}
type GoodsInfoRes struct {
*CommonRes
CommonRes
BizGroupInfos []struct {
Support bool `json:"support"`
Description string `json:"description"`
......@@ -168,7 +168,7 @@ type GoodsGroupRes struct {
ID int `json:"id"`
Title string `json:"title"`
} `json:"result"`
*CommonRes
CommonRes
} `json:"result"`
}
......@@ -178,7 +178,7 @@ type GoodsCategoryReq struct {
}
type GoodsCategoryRes struct {
*CommonRes
CommonRes
CategoryInfo []struct {
CategoryID int `json:"categoryID"`
Name string `json:"name"`
......
......@@ -49,7 +49,7 @@ type Offer struct {
}
type CreateOrderRes struct {
*CommonRes
CommonRes
Result struct {
TotalSuccessAmount int64 `json:"totalSuccessAmount"` //下单成功的订单总金额,单位:分
OrderId string `json:"orderId"` //下单成功后的订单id
......@@ -58,7 +58,7 @@ type CreateOrderRes struct {
}
type OrderDetailRes struct {
*CommonRes
CommonRes
Result struct {
BaseInfo struct {
PayTime string `json:"payTime"`
......@@ -211,7 +211,7 @@ type ProductItems struct {
}
type BeforeCreateRes struct {
*CommonRes
CommonRes
OrderPreviewResuslt []BeforeCreateItem `json:"orderPreviewResuslt"`
}
......@@ -233,7 +233,7 @@ type BeforeCreateItem struct {
}
type DeliverRes struct {
*CommonRes
CommonRes
LogisticsTrace []struct {
LogisticsBillNo string `json:"logisticsBillNo"` //物流单号,运单号
LogisticsId string `json:"logisticsId"` //物流信息ID
......@@ -247,7 +247,7 @@ type DeliverRes struct {
}
type GetLogisticCompanyRes struct {
*CommonRes
CommonRes
Result []CompanyInfo `json:"result"` //result
}
......
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论