提交 5e3a8189 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
}
......
......@@ -35,12 +35,10 @@ type RefundApplyItem struct {
type RefundApplyRes struct {
Result struct {
CommonRes
Result struct {
RefundId string `json:"refundId"` // 创建成功,退款id
} `json:"result"`
Success bool `json:"success"` //是否成功
Code string `json:"code"` //错误信息
Message string `json:"message"` //错误码
} `json:"result"`
}
......@@ -53,7 +51,7 @@ type RefundReasonReq struct {
type RefundReasonRes struct {
Result struct {
*CommonRes
CommonRes
Result struct {
Reasons []struct {
ID int `json:"id"` //原因id
......@@ -68,7 +66,7 @@ type RefundReasonRes struct {
type RefundUploadRes struct {
Result struct {
*CommonRes
CommonRes
Result struct {
ImageDomain string `json:"imageDomain"`
ImageRelativeURL string `json:"imageRelativeUrl"`
......@@ -83,6 +81,7 @@ type RefundInfoReq struct {
}
type RefundInfoRes struct {
CommonRes
Result struct {
OpOrderRefundModelDetail struct {
AlipayPaymentID string `json:"alipayPaymentId"`
......@@ -180,7 +179,7 @@ type RefundSubmitReq struct {
type RefundSubmitRes struct {
Result struct {
*CommonRes
CommonRes
} `json:"result"`
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论