From 638192d17023cbb63df6561a29322f573603cdeb 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:55:23 +0800 Subject: [PATCH] 1 --- platformapi/tao_vegetable/order_model.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/platformapi/tao_vegetable/order_model.go b/platformapi/tao_vegetable/order_model.go index 7dc635ac..698f1040 100644 --- a/platformapi/tao_vegetable/order_model.go +++ b/platformapi/tao_vegetable/order_model.go @@ -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"` // 渠道店编码 }