定时任务部分bug

This commit is contained in:
junleea 2024-12-04 19:16:13 +08:00
parent 61b58ec546
commit a88002e3d0
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ func RunGeneralCron() {
res := worker.GetRedis(key)
var cron_infos []proto.CronInfo
if res != "" {
err := json.Unmarshal([]byte(res), cron_infos)
err := json.Unmarshal([]byte(res), &cron_infos)
if err != nil {
fmt.Println("RunGeneralCron Error decoding config,key value is :", res)
}