From 711b4948ab86407f63b7493f3318fd8ce97fd2bf Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 1 Sep 2022 15:01:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/order.go | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/supply/order.go b/supply/order.go index f338fb9..6159542 100644 --- a/supply/order.go +++ b/supply/order.go @@ -9,12 +9,15 @@ import ( type order struct { } type ArgsOrderSplit struct { - SourceOrderSn string // 供应商订单号 - Source source // 商品来源 - ParentSourceOrderSn string // 上级订单号 - FreightFee decimal.Decimal // 运费 - OrderFee decimal.Decimal // 订单金额 - Skus []OrderSplitSkuItem // 拆分订单sku + SourceOrderSn string // 供应商订单号 + Source source // 商品来源 + ParentSourceOrderSn string // 上级订单号 + OrderSubs []OrderSub // 子订单 +} +type OrderSub struct { + FreightFee decimal.Decimal // 运费 + OrderFee decimal.Decimal // 订单金额 + Skus []OrderSplitSkuItem // 拆分订单sku } type OrderSplitSkuItem struct { SourceSkuId string