This commit is contained in:
蒋海成 2025-05-09 16:32:25 +08:00
parent b75973df17
commit ce90dde920
2 changed files with 3 additions and 3 deletions

4
go.mod
View File

@ -17,9 +17,9 @@ go 1.18
//github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery //github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery
//github.com/fonchain_enterprise/utils/jwt => ../utils/jwt //github.com/fonchain_enterprise/utils/jwt => ../utils/jwt
//github.com/fonchain_enterprise/utils/logger => ../utils/logger //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 ( require (
dubbo.apache.org/dubbo-go/v3 v3.0.2 dubbo.apache.org/dubbo-go/v3 v3.0.2

View File

@ -33,7 +33,7 @@ func WriteToExcel(dirPath string, orderInfos [][]interface{}) (string, error) {
} }
//path := dirPath + "/" + artShowInfo.ArtistName + "-" + artShowInfo.ShowSeq + "-price" + ".xlsx" //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) err := xlsx.SaveAs(path)
if err != nil { if err != nil {
fmt.Println("save rows err :", err) fmt.Println("save rows err :", err)