Skip to content

Commit

Permalink
schedule:utils使用分组后的新调用方式
Browse files Browse the repository at this point in the history
  • Loading branch information
keepchen committed Feb 16, 2025
1 parent 46df549 commit e2ed948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func init() {
}

func generateJobNameKey(name string) string {
return fmt.Sprintf("go-sail:task-schedule-locker:%s", utils.Base64Encode([]byte(name)))
return fmt.Sprintf("go-sail:task-schedule-locker:%s", utils.Base64().Encode([]byte(name)))
}

// NewJob 实例化任务
Expand Down

0 comments on commit e2ed948

Please sign in to comment.