pay: InvoiceRequest 增加 batch_filter 透传字段
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f0761984b6
commit
0e167d0ad0
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user