This commit is contained in:
liuzhihang1
2025-03-07 06:28:26 +00:00
parent 4f96d04f88
commit f78a280110

View File

@@ -20,7 +20,7 @@ type taskLogic struct {
taskJobMap sync.Map
}
var TaskLogic taskLogic
var TaskLogic = new(taskLogic)
func (t *taskLogic) getTaskJob(id int) (*model.TaskJob, error) {
c, ok := t.taskJobMap.Load(id)