Release 释放一个任务
(ctx context.Context, jobId int64)
| 43 | |
| 44 | // Release 释放一个任务 |
| 45 | func (c *cronJobRepository) Release(ctx context.Context, jobId int64) error { |
| 46 | return c.dao.Release(ctx, jobId) |
| 47 | } |
| 48 | |
| 49 | // UpdateTime 更新任务的时间 |
| 50 | func (c *cronJobRepository) UpdateTime(ctx context.Context, id int64) error { |