1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package tm
type RenderOrderRes struct {
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
Success bool `json:"Success"`
Model struct {
RenderOrderInfos struct {
RenderOrderInfos []struct {
LmItemInfos struct {
LmItemInfos []struct {
ItemId int64 `json:"ItemId"`
Quantity int `json:Quantity`
CanSell bool `json:CanSell`
SkuId int64 `json:SkuId`
Message string `json:Message`
ItemName string `json:ItemName`
} `json:"LmItemInfos"`
} `json:"LmItemInfos"`
DeliveryInfos struct {
DeliveryInfos []struct {
ServiceType int `json:"ServiceType"`
Id string `json:"Id"`
PostFee int64 `json:"PostFee"`
DisplayName string `json:"string"`
} `json:"DeliveryInfos"`
} `json:"DeliveryInfos"`
} `json:"RenderOrderInfos"`
} `json:"RenderOrderInfos"`
} `json:"Model"`
}
type TmCommon struct {
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
}
type BatchRegistAnonymousTbAccountRes struct {
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
BatchId string `json:"BatchId"`
}
type LeavePictureList struct {
Picture string `json:"Picture"` //图片地址
Desc string `json:"Desc"` //图片描述
}
type GetCustomServiceUrlRes struct {
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
UrlData struct {
ReturnUrl string `json:"ReturnUrl"`
} `json:"UrlData"`
}
type SubmitReturnGoodLogisticsRes struct {
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
}
type SubmitReturnCancelRes struct {
Code string `json:"Code"`
Message string `json:"Message"`
RequestId string `json:"RequestId"`
}
type BeforeData struct {
Reasons []Reasons `json:"reasons"`
ServiceType []ServiceType `json:"serviceType"`
MaxRefundFeeData struct {
MaxRefundFee int64 `json:"MaxRefundFee"` //本单最大可退款金额
MinRefundFee int64 `json:"MinRefundFee"` //本单最小可退款金额
} `json:"MaxRefundFeeData"`
}
type Reasons struct {
Id int64 `json:"id"` //原因id
Name string `json:"name"` //原因
NeedVoucher bool `json:"needVoucher"` //凭证是否必须上传
NoRefundCarriage bool `json:"noRefundCarriage"` //是否支持退运费
Tip string `json:"tip"` //提示
ServiceType string `json:"serviceType"` //提示
RefundDescRequired bool `json:"refundDescRequired"` //是否要求留言
}
type ServiceType struct {
Code string `json:"code"`
Name string `json:"name"`
}
type Detail struct {
RefundCarriage int64 `json:"refundCarriage"` //运费的实际退款金额,单位:分
RejectReason string `json:"rejectReason"` // 拒绝原因
SellerReceiveAddress string `json:"sellerReceiveAddress"` //卖家地址
RefundPayment int64 `json:"refundPayment"` //实际退款金额,单位:分
SellerMobile string `json:"sellerMobile "` //收货人手机
SellerRealName string `json:"sellerRealName"` //收货人姓名
SellerTel string `json:"sellerTel"` //收货人电话
GoodsStatus int `json:"goodsStatus"` //状态1:买家未收到货 2:买家已收到货 3:买家已退货
RefundGoods bool `json:"refundGoods"` //是否要求退货
OnlyRefund bool `json:"onlyRefund"` //是否仅退款
RejectTimes int `json:"rejectTimes"` //退款单被拒绝的次数
Status string `json:"status"` //
}