From f0014215560c181b60dffe5dc37e45fad551b0e1 Mon Sep 17 00:00:00 2001 From: howell <2827207845@qq.com> Date: Tue, 7 Sep 2021 20:11:14 +0800 Subject: [PATCH] feat: invoice --- api/rest/order/submit.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/rest/order/submit.go b/api/rest/order/submit.go index 948ac7d..483a805 100644 --- a/api/rest/order/submit.go +++ b/api/rest/order/submit.go @@ -22,6 +22,7 @@ type Param struct { ShipmentType ShipmentType `json:"ShipmentType"` ChannelOrderSource string `json:"channelOrderSource"` SendGoods uint `json:"sendGoods"` + Invoice InvoiceParam `json:"invoice"` UserIp string `json:"userIp"` } @@ -67,7 +68,7 @@ type ElectronicInvoiceParam struct { type InvoiceParam struct { InvoiceType uint `json:"invoiceType"` VatInvoice VatInvoiceParam `json:"vatInvoice"` - ElectronicInvoice ElectronicInvoiceParam `json:"electronicInvoice"` + //ElectronicInvoice ElectronicInvoiceParam `json:"electronicInvoice"` } func (o SubmitOrderRequest) GetApiName() string {