feat: integrate xxl-job-admin to implements automatic task scheduling

This commit is contained in:
RockYang
2024-03-22 13:47:16 +08:00
parent bf5e72b7e0
commit f7a565bb80
15 changed files with 2267 additions and 132 deletions

View File

@@ -62,7 +62,7 @@ func Str2stamp(str string) int64 {
}
layout := "2006-01-02 15:04:05"
t, err := time.Parse(layout, str)
t, err := time.ParseInLocation(layout, str, time.Local)
if err != nil {
return 0
}