public async Task <Result> Stop() { var result = await _schedulerCenter.StopAsync(); return(result ? new Result() { Code = 1, Success = true, Message = "停止调度成功" } : new Result() { Code = 2, Success = false, Message = "停止调度失败" }); }