public async Task <IActionResult> Resume([FromBody] JobKeyInput input) { await _schedulerCenter.ResumeJobAsync(input.JobName, input.GroupName); return(Ok(ResponseBody.From("启动成功"))); }
public async Task <Result> ResumeJob([FromBody] JobKey job) { return(await _schedulerCenter.ResumeJobAsync(job.Group, job.Name)); }