This commit is contained in:
邹宗楠
2023-06-29 10:55:23 +08:00
parent e9268750f4
commit 638192d170

View File

@@ -25,22 +25,22 @@ type CallbackOrder struct {
// OnSaleCancel 售中订单取消回调
type OnSaleCancel struct {
PublicModel
//PublicModel
PartCancelRequest PartCancelRequest `json:"partCancelRequest"` // 取消子单列表
IdempotentId string `json:"idempotentId"` // 发起订单取消幂等键
BizOrderId int64 `json:"bizOrderId"` // 主订单号
StoreId string `json:"storeId"` // 门店id
MerchantCode string `json:"merchantCode"` // 商户id
}
type PartCancelRequest struct {
SubOrders []CancelSubOrder `json:"subOrders"` // 取消子单列表
IdempotentId string `json:"idempotentId"` // 发起订单取消幂等键
MerchantCode string `json:"merchantCode"` // 商户id
SubOrders []CancelSubOrder `json:"subOrders"` // 取消子单列表
StoreId string `json:"storeId"` // 门店id
BizOrderId int64 `json:"bizOrderId"` // 主订单号
}
type CancelSubOrder struct {
CancelSaleQuantity string `json:"cancelSaleQuantity"` // 销售单位取消数量
BizSubOrderId int64 `json:"bizSubOrderId"` // 要取消的子订单号
CancelStockQuantity string `json:"cancelStockQuantity"` // 库存单位取消数量
CancelSaleQuantity string `json:"cancelSaleQuantity"` // 销售单位取消数量
}
// UserApplyRefundCallBack 用户申请售后消息通知
@@ -85,9 +85,9 @@ type RefundOrderFinish struct {
StoreId string `json:"store_id"` // 门店编码
OrderStatus string `json:"order_status"` // 退款单状态
OutSubOrderId string `json:"out_sub_order_id"` // 外部子单号
ShopId string `json:"shop_id"` // 渠道店编码
MerchantCode string `json:"merchant_code"` // 商家编码
OutMainRefundId string `json:"out_main_refund_id"` // 外部退款单号
OrderFrom string `json:"order_from"` // 订单来源渠道
BizSubRefundId string `json:"biz_sub_refund_id"` // 退款业务子单号
ShopId string `json:"shop_id"` // 渠道店编码
}