Browse Source

coastal文件格式修改

ziwen 2 years ago
parent
commit
4e40c47a05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/commodity_coal_coastal.go

+ 1 - 1
services/commodity_coal_coastal.go

@@ -25,7 +25,7 @@ func FileCoalCoastal() {
 	//path := "static/file/沿海八省动力煤终端用户供耗存数据更新03.07.xlsx"
 	var month, day string
 
-	path := "/home/code/python/coal_mail/emailFile/沿海八省动力煤终端用户供耗存数据更新%s.%s.xlsx"
+	path := "/home/code/python/coal_mail/emailFile/沿海八省动力煤终端用户供耗存数据更新%s%s.xlsx"
 	//path := "/home/code/python/coal_mail/emailFile/沿海八省动力煤终端用户供耗存数据更新10.03.xlsx"
 	for i := 0; i < 7; i++ {
 		dateDay := time.Now().AddDate(0, 0, -i).Day()