提交 eb2cc9e7 authored 作者: zhanglibo's avatar zhanglibo

阿里返回值

上级 bb92fee3
...@@ -15,17 +15,17 @@ type refundAli struct { ...@@ -15,17 +15,17 @@ type refundAli struct {
var Refund = refundAli{} var Refund = refundAli{}
type RefundApplyReq struct { type RefundApplyReq struct {
OrderId int64 `json:"orderId"` //主订单 OrderId string `json:"orderId"` //主订单
OrderEntryIds []int64 `json:"orderEntryIds"` //子订单 OrderEntryIds string `json:"orderEntryIds"` //子订单
DisputeRequest string `json:"disputeRequest"` //退款/退款退货。只有已收到货,才可以选择退款退货[退款:"refund"; 退款退货:"returnRefund"] DisputeRequest string `json:"disputeRequest"` //退款/退款退货。只有已收到货,才可以选择退款退货[退款:"refund"; 退款退货:"returnRefund"]
ApplyPayment int64 `json:"applyPayment"` //退款金额(单位:分) ApplyPayment string `json:"applyPayment"` //退款金额(单位:分)
ApplyCarriage int64 `json:"applyCarriage"` //退运费金额(单位:分) ApplyCarriage string `json:"applyCarriage"` //退运费金额(单位:分)
ApplyReasonId int64 `json:"applyReasonId"` //退款原因id ApplyReasonId string `json:"applyReasonId"` //退款原因id
Description int64 `json:"description"` //退款申请理由,2-150字 Description string `json:"description"` //退款申请理由,2-150字
GoodsStatus int64 `json:"goodsStatus"` //货物状态[售中等待卖家发货:"refundWaitSellerSend"; 售中等待买家收货:"refundWaitBuyerReceive"; 售中已收货(未确认完成交易):"refundBuyerReceived" 售后未收货:"aftersaleBuyerNotReceived"; 售后已收到货:"aftersaleBuyerReceived"] GoodsStatus string `json:"goodsStatus"` //货物状态[售中等待卖家发货:"refundWaitSellerSend"; 售中等待买家收货:"refundWaitBuyerReceive"; 售中已收货(未确认完成交易):"refundBuyerReceived" 售后未收货:"aftersaleBuyerNotReceived"; 售后已收到货:"aftersaleBuyerReceived"]
Vouchers []string `json:"vouchers"` //凭证图片URLs。1-5张,必须使用API uploadRefundVoucher返回的“图片域名/相对路径” Vouchers []string `json:"vouchers"` //凭证图片URLs。1-5张,必须使用API uploadRefundVoucher返回的“图片域名/相对路径”
OrderEntryCountList []*RefundApplyItem `json:"orderEntryCountList"` //子订单退款数量。仅在售中买家已收货(退款退货)时,可指定退货数量;默认,全部退货。 OrderEntryCountList string `json:"orderEntryCountList"` //子订单退款数量。仅在售中买家已收货(退款退货)时,可指定退货数量;默认,全部退货。
AccessToken string `json:"access_token"` AccessToken string `json:"access_token"`
} }
type RefundApplyItem struct { type RefundApplyItem struct {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论