Merge pull request #3882 from henghengdh/master

放开普通用户查看注册节点的权限
3.3.2-release
许雪里 4 months ago committed by GitHub
commit 0e4198779f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -216,7 +216,7 @@ public class JobGroupController {
@RequestMapping("/loadById")
@ResponseBody
@XxlSso(role = Consts.ADMIN_ROLE)
//@XxlSso(role = Consts.ADMIN_ROLE)
public Response<XxlJobGroup> loadById(@RequestParam("id") int id){
XxlJobGroup jobGroup = xxlJobGroupMapper.load(id);
return jobGroup!=null?Response.ofSuccess(jobGroup):Response.ofFail();

Loading…
Cancel
Save