From c64766a44c20cd9aa89940b63e5d909cc60f3901 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 4 Dec 2024 10:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp/template.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erp/template.go b/erp/template.go index 6b335a3..12c51cd 100644 --- a/erp/template.go +++ b/erp/template.go @@ -29,6 +29,7 @@ type TemplateItem struct { Path string `json:"path"` Sort int64 `json:"sort"` PdfConfig string `json:"pdfConfig"` + FileName string `json:"fileName"` IsOpen int64 `json:"isOpen"` CreatedStaffId int64 `json:"createdStaffId"` CreatedAt *time.Time `json:"createdAt"` @@ -55,6 +56,7 @@ type TemplateAdd struct { Path string // 模板文件地址 Sort int64 // 排序 PdfConfig string // pdf配置 + FileName string // 文件名 } // Add @TITLE 添加 @@ -75,6 +77,7 @@ type TemplateInfo struct { Path string `json:"path"` Sort int64 `json:"sort"` PdfConfig string `json:"pdfConfig"` + FileName string `json:"fileName"` IsOpen int64 `json:"isOpen"` CreatedStaffId int64 `json:"createdStaffId"` CreatedAt *time.Time `json:"createdAt"`