This commit is contained in:
蒋海成 2025-03-12 11:09:25 +08:00
parent baeaf74d8c
commit b72b17e543

View File

@ -14,6 +14,7 @@ import (
"log" "log"
"net/http" "net/http"
"os" "os"
"strconv"
"time" "time"
) )
@ -181,7 +182,7 @@ func InsertSignatureV1(templatePath, outputPath, signImgPath, companyImgPath, co
pdf.SetPage(pricePage) pdf.SetPage(pricePage)
pdf.SetX(379) pdf.SetX(379)
pdf.SetY(639) pdf.SetY(639)
pdf.Cell(nil, price) pdf.Cell(nil, strconv.FormatFloat(float64(price), 'f', 2, 32))
// 写 有效期 // 写 有效期
t := time.Now().AddDate(int(contractDuration), 0, 0) t := time.Now().AddDate(int(contractDuration), 0, 0)