提交 216ef8a2 authored 作者: mooncake9527's avatar mooncake9527

update

上级 2728de5e
...@@ -33,12 +33,12 @@ func initXCron() { ...@@ -33,12 +33,12 @@ func initXCron() {
if !cron.Enable { if !cron.Enable {
return return
} }
if cron.Type == "" { // if cron.Type == "" {
cron.Type = "xxl" // cron.Type = "xxl"
config.Write(func(c *config.Config) { // config.Write(func(c *config.Config) {
c.Cron.Type = "xxl" // c.Cron.Type = "xxl"
}) // })
} // }
if cron.Type != "xxl" { if cron.Type != "xxl" {
return return
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论