修改
This commit is contained in:
parent
baeaf74d8c
commit
b72b17e543
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user