From c149bc1af5a53d37083a486c68198ea054193133 Mon Sep 17 00:00:00 2001 From: "jiaji.H" Date: Tue, 3 Feb 2026 14:30:26 +0800 Subject: [PATCH] =?UTF-8?q?Updata=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/invoiceDao.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/dao/invoiceDao.go b/internal/dao/invoiceDao.go index 93e047c..d7042cc 100644 --- a/internal/dao/invoiceDao.go +++ b/internal/dao/invoiceDao.go @@ -15,7 +15,8 @@ func CreateInvoice(req *bundle.CreateInvoiceReq) (res *bundle.CreateInvoiceResp, if err != nil { return nil, err } - applyTime, err := time.Parse(time.DateTime, req.ApplyTime) + fmt.Println("创建发票信息:applyTime=", req.ApplyTime) + applyTime, err := time.Parse("20060102 15:04:05", req.ApplyTime) if err != nil { fmt.Println("创建发票信息失败:", err) return nil, err