Commit 1f413362 authored by jiyonggang's avatar jiyonggang

refactor(xxl-job-admin):调整 JobInfoController 中 getJobsBypkg 方法的路由- 将…

refactor(xxl-job-admin):调整 JobInfoController 中 getJobsBypkg 方法的路由- 将 "/jobinfo/getBypkg" 路由修改为 "/getBypkg"
- 为该方法添加 @PermissionLimit 注解,设置 limit 为 false
parent 79f1ba12
...@@ -220,8 +220,9 @@ public class JobInfoController { ...@@ -220,8 +220,9 @@ public class JobInfoController {
} }
@RequestMapping("/jobinfo/getBypkg") @RequestMapping("/getBypkg")
@ResponseBody @ResponseBody
@PermissionLimit(limit = false)
public ReturnT<List<XxlJobInfo>> getJobsBypkg(@RequestBody JobQuery jobQuery) { public ReturnT<List<XxlJobInfo>> getJobsBypkg(@RequestBody JobQuery jobQuery) {
List<XxlJobInfo> jobList = xxlJobGroupDao.getJobsBypkg(jobQuery.getPkg()); List<XxlJobInfo> jobList = xxlJobGroupDao.getJobsBypkg(jobQuery.getPkg());
return new ReturnT<>(jobList); return new ReturnT<>(jobList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment