From 0e167d0ad022d2131656f5165bcdccd3683b8255 Mon Sep 17 00:00:00 2001 From: huangqz Date: Thu, 4 Jun 2026 18:26:26 +0800 Subject: [PATCH] =?UTF-8?q?pay:=20InvoiceRequest=20=E5=A2=9E=E5=8A=A0=20ba?= =?UTF-8?q?tch=5Ffilter=20=E9=80=8F=E4=BC=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- services/pay/invoice.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/pay/invoice.go b/services/pay/invoice.go index 1baa7e8..963038d 100644 --- a/services/pay/invoice.go +++ b/services/pay/invoice.go @@ -21,6 +21,7 @@ type InvoiceRequestParam struct { Phone string `json:"phone"` RequestName string `json:"request_name"` From string `json:"from"` + BatchFilter string `json:"batch_filter"` // 批量开票圈选条件快照(JSON),单个开票留空 Orders []InvoiceRequestOrder `json:"orders"` } @@ -33,6 +34,7 @@ type InvoiceRequestRequest struct { Phone string `position:"Json" field:"phone"` RequestName string `position:"Json" field:"request_name"` From string `position:"Json" field:"from"` + BatchFilter string `position:"Json" field:"batch_filter"` Orders []InvoiceRequestOrder `position:"Json" field:"orders"` } @@ -53,6 +55,7 @@ func CreateInvoiceRequestRequest(param InvoiceRequestParam) *InvoiceRequestReque Phone: param.Phone, RequestName: param.RequestName, From: param.From, + BatchFilter: param.BatchFilter, Orders: param.Orders, } req.InitWithApiInfo(HOST, VERSION, "/api/invoice/request")