From e9268750f45820090437d139e9aff68ffcdc0db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 29 Jun 2023 10:43:43 +0800 Subject: [PATCH] 1 --- platformapi/tao_vegetable/order_model.go | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/platformapi/tao_vegetable/order_model.go b/platformapi/tao_vegetable/order_model.go index 57e622ba..7dc635ac 100644 --- a/platformapi/tao_vegetable/order_model.go +++ b/platformapi/tao_vegetable/order_model.go @@ -46,36 +46,36 @@ type CancelSubOrder struct { // UserApplyRefundCallBack 用户申请售后消息通知 type UserApplyRefundCallBack struct { //PublicModel - BizRefundId string `json:"bizRefundId"` // 翱象退款单ID - RefundId string `json:"refundId"` // 渠道退款单ID, 幂等键 - OutOrderId string `json:"outOrderId"` // 渠道订单ID - MerchantCode string `json:"merchantCode"` // 商家编码 - StoreId string `json:"storeId"` // 商家经营店ID - OrderFrom int64 `json:"orderFrom"` // 订单来源:如 2=美团 / 3=饿了么 / 4=淘鲜达 RefundFee int64 `json:"refundFee"` // 申请退款金额(包含退运费), 分 - RefundDeliveryFee int64 `json:"refundDeliveryFee"` // 退运费, 分 - RefundPackageFee int64 `json:"refundPackageFee"` // 退包装费,分 + MerchantCode string `json:"merchantCode"` // 商家编码 RefundReason string `json:"refundReason"` // 退款原因 - RefundPictures string `json:"refundPictures"` // 售后图片链接 - Remarks string `json:"remarks"` // 备注 + BizRefundId string `json:"bizRefundId"` // 翱象退款单ID + OutOrderId string `json:"outOrderId"` // 渠道订单ID + RefundPackageFee int64 `json:"refundPackageFee"` // 退包装费,分 + OrderFrom int64 `json:"orderFrom"` // 订单来源:如 2=美团 / 3=饿了么 / 4=淘鲜达 SubRefundOrders []SubRefundOrdersList `json:"subRefundOrders"` // 逆向子单列表 + StoreId string `json:"storeId"` // 商家经营店ID + RefundDeliveryFee int64 `json:"refundDeliveryFee"` // 退运费, 分 + RefundId string `json:"refundId"` // 渠道退款单ID, 幂等键 + Remarks string `json:"remarks"` // 备注 + RefundPictures string `json:"refundPictures"` // 售后图片链接 } type SubRefundOrdersList struct { RefundFee int64 `json:"refundFee"` // 子单退款金额, 分 - OutSubOrderId string `json:"outSubOrderId"` // 渠道子订单ID MaxRefundFee int64 `json:"maxRefundFee"` // 子单最大可退款金额, 分 + OutSubOrderId string `json:"outSubOrderId"` // 渠道子订单ID RefundAmount int64 `json:"refundAmount"` // 子单退货数量(淘鲜达不用填) } // UserCancelRefundApply 用户取消售后申请 type UserCancelRefundApply struct { //PublicModel - MerchantCode int64 `json:"merchantCode"` // 商家编码 + MerchantCode string `json:"merchantCode"` // 商家编码 BizRefundId string `json:"bizRefundId"` // 翱象退款单ID OutOrderId string `json:"outOrderId"` // 渠道订单ID - OrderFrom int64 `json:"orderFrom"` // 渠道来源 - StoreId int64 `json:"storeId"` // 商家经营店ID + OrderFrom int `json:"orderFrom"` // 渠道来源 + StoreId string `json:"storeId"` // 商家经营店ID RefundId string `json:"refundId"` // 渠道退款单ID, 幂等键 }