Merge branch 'feat-zjy-issue-008' into dev

This commit is contained in:
周俊耀 2025-06-18 16:28:30 +08:00
commit 492fdfeee2

View File

@ -47,6 +47,10 @@ func SignContractV2(customerNum, contract string, price float32, expirationDate
} }
func InsertSignatureV2(templatePath, outputPath string, price float32, expirationDate string) error { func InsertSignatureV2(templatePath, outputPath string, price float32, expirationDate string) error {
fmt.Println("================================templatePath:", templatePath)
fmt.Println("================================outputPath:", outputPath)
fmt.Println("================================price:", price)
fmt.Println("================================expirationDate:", expirationDate)
pdf := gopdf.GoPdf{} pdf := gopdf.GoPdf{}
pdf.Start(gopdf.Config{PageSize: *gopdf.PageSizeA4}) pdf.Start(gopdf.Config{PageSize: *gopdf.PageSizeA4})