From ce90dde920cf5343b604675e3c468161a9a18bfa Mon Sep 17 00:00:00 2001 From: jhc Date: Fri, 9 May 2025 16:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 4 ++-- pkg/service/bundle/logic/export.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e7e04d3..f6dbc87 100644 --- a/go.mod +++ b/go.mod @@ -17,9 +17,9 @@ go 1.18 //github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery //github.com/fonchain_enterprise/utils/jwt => ../utils/jwt //github.com/fonchain_enterprise/utils/logger => ../utils/logger -//replace github.com/fonchain_enterprise/utils/objstorage => ../../tyfon-新/utils/objstorage +replace github.com/fonchain_enterprise/utils/objstorage => ../../tyfon-新/utils/objstorage -replace github.com/fonchain_enterprise/utils/objstorage => ../utils/objstorage +//replace github.com/fonchain_enterprise/utils/objstorage => ../utils/objstorage require ( dubbo.apache.org/dubbo-go/v3 v3.0.2 diff --git a/pkg/service/bundle/logic/export.go b/pkg/service/bundle/logic/export.go index 73022fe..2056720 100644 --- a/pkg/service/bundle/logic/export.go +++ b/pkg/service/bundle/logic/export.go @@ -33,7 +33,7 @@ func WriteToExcel(dirPath string, orderInfos [][]interface{}) (string, error) { } //path := dirPath + "/" + artShowInfo.ArtistName + "-" + artShowInfo.ShowSeq + "-price" + ".xlsx" - path := dirPath + "/套餐订单信息" + time.Now().Format("20060102150405") + ".xlsx" + path := dirPath + "/orderInfo_" + time.Now().Format("20060102150405") + ".xlsx" err := xlsx.SaveAs(path) if err != nil { fmt.Println("save rows err :", err)