移出不使用的代码
This commit is contained in:
parent
69b5ee0814
commit
ed692073cf
|
|
@ -72,6 +72,7 @@ func TaskExport(d export.DataFetcher, t config.Task, params map[string]interface
|
||||||
}
|
}
|
||||||
|
|
||||||
params["last"] = last
|
params["last"] = last
|
||||||
|
time.Sleep(time.Microsecond * 30)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,6 @@ func Execute() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func rootRun(cmd *cobra.Command, args []string) {
|
func rootRun(cmd *cobra.Command, args []string) {
|
||||||
|
|
||||||
fmt.Println(args)
|
|
||||||
c := config.DefaultConfig
|
c := config.DefaultConfig
|
||||||
|
|
||||||
sName := cmd.Flag("system").Value.String()
|
sName := cmd.Flag("system").Value.String()
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ func main() {
|
||||||
Location: time.UTC,
|
Location: time.UTC,
|
||||||
ExcelTimeFormat: "yyyy-m-d h:mm:ss",
|
ExcelTimeFormat: "yyyy-m-d h:mm:ss",
|
||||||
}
|
}
|
||||||
xlsx.DefaultDateTimeFormat = ""
|
|
||||||
|
|
||||||
path, _ := os.Getwd()
|
path, _ := os.Getwd()
|
||||||
Config = config.LoadConfig(path + "/config")
|
Config = config.LoadConfig(path + "/config")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue