# Conflicts: # services/commodity_coal_inland.go
@@ -56,7 +56,11 @@ func FileCoalInland() () {
if !exist{
path = "/home/code/python/coal_mail/emailFile/内陆17省动力煤终端用户供耗存.xlsx"
}
-
+ exist,err = PathExists(path)
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
var xlFile *xlsx.File
if exist {
xlFile, err = xlsx.OpenFile(path)