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

阿里返回值

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