Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
L
library
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
stbz
library
Commits
5e3a8189
提交
5e3a8189
authored
3 年前
作者:
zhanglibo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
阿里返回值
上级
950022c6
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
15 行删除
+16
-15
ali_address.go
upstream/ali/ali_address.go
+2
-0
ali_goods.go
upstream/ali/ali_goods.go
+4
-4
ali_order.go
upstream/ali/ali_order.go
+5
-5
ali_refund.go
upstream/ali/ali_refund.go
+5
-6
没有找到文件。
upstream/ali/ali_address.go
浏览文件 @
5e3a8189
...
...
@@ -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"`
...
...
This diff is collapsed.
Click to expand it.
upstream/ali/ali_goods.go
浏览文件 @
5e3a8189
...
...
@@ -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"`
...
...
This diff is collapsed.
Click to expand it.
upstream/ali/ali_order.go
浏览文件 @
5e3a8189
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
upstream/ali/ali_refund.go
浏览文件 @
5e3a8189
...
...
@@ -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"`
}
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论