This commit is contained in:
徐俊杰 2025-06-18 16:43:52 +08:00
commit 3983538606

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})