diff --git a/erp/shipment/gift.go b/erp/shipment/gift.go index 5a680fc..1f55199 100644 --- a/erp/shipment/gift.go +++ b/erp/shipment/gift.go @@ -44,7 +44,7 @@ func (g *gift) All(ctx context.Context, shipmentId int64) (reply []GiftItem, err type ArgsGiftAdd struct { ShipmentId int64 // 订舱单ID - GiftAdd + Gifts []GiftAdd } type GiftAdd struct { @@ -57,9 +57,9 @@ type GiftAdd struct { CustomsDetail string // 申报要素 ShipmentCount int64 // 出运数量 OuterBoxCount int64 // 箱数 - TotalVolume decimal.Decimal // 总体积 - TotalGrossWeight decimal.Decimal // 总毛重 - TotalNetWeight decimal.Decimal // 总净重 + TotalVolume decimal.Decimal // 体积 + TotalGrossWeight decimal.Decimal // 毛重 + TotalNetWeight decimal.Decimal // 净重 CustomsPrice decimal.Decimal // 报关单价 CustomsAmount decimal.Decimal // 报关总价 DomesticSupply string // 境内货源地