refactor: 定时任务未开启提示
This commit is contained in:
@@ -21,7 +21,7 @@ public class JobController {
|
|||||||
@Operation(summary = "获得定时任务分页")
|
@Operation(summary = "获得定时任务分页")
|
||||||
@PreAuthorize("@ss.hasPermission('infra:job:query')")
|
@PreAuthorize("@ss.hasPermission('infra:job:query')")
|
||||||
public CommonResult<String> getJobPage() {
|
public CommonResult<String> getJobPage() {
|
||||||
return error(-1, "Cloud 版本使用 XXL-Job 作为定时任务!请参考 https://cloud.iocoder.cn/job/ 文档操作");
|
return error(-1, "定时任务未启用");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user