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)