Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
1d8da641d7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/hdl/hdl_settle_center.go
  2. +1
    -1
      go.mod

+ 1
- 1
app/hdl/hdl_settle_center.go View File

@@ -203,7 +203,7 @@ func SettleCenterSettleFileDown(c *gin.Context) {
pdf.Text(left, 230, "日期:")

// 保存PDF文件
pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, "-", "") + ")结算单.pdf"
pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, " ", "") + ")结算单.pdf"
err := pdf.OutputFileAndClose(path + "/" + pdfName)
if err != nil {
fmt.Println(err)


+ 1
- 1
go.mod View File

@@ -6,7 +6,7 @@ go 1.18

//
require (
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241030071009-67f1ca108f52
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241030074222-64103a1c8c40
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/boombuler/barcode v1.0.1
github.com/dchest/uniuri v0.0.0-20200228104902-7aecb25e1fe5


Loading…
Cancel
Save