diff --git a/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index 05195019..6c8ca454 100644 --- a/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -76,8 +76,11 @@ public class ShiroConfig { } // 配置不会被拦截的链接 顺序判断 filterChainDefinitionMap.put("/annualcomp/annualComp/findndbswlj", "anon"); //年度比赛列表无拦截需要传比赛id + filterChainDefinitionMap.put("/annualcomp/annualComp/findndbswxq", "anon"); //年度比赛详情无拦截需要传比赛id + filterChainDefinitionMap.put("/comp/comp/complistnoxq", "anon"); //比赛详情无拦截 filterChainDefinitionMap.put("/comp/comp/complistnolj", "anon"); //比赛列表无拦截 filterChainDefinitionMap.put("/AnnualCompPoint/annualCompPoint/findcompp", "anon"); //查询是已经通过审核的且在报名时间段之内的年度比赛项目需要穿年度比赛id + filterChainDefinitionMap.put("/AnnualCompPoint/annualCompPoint/findcomppxq", "anon"); //查询是已经通过审核的且在报名时间段之内的年度比赛项目详情需要穿年度比赛id filterChainDefinitionMap.put("/sysconfiguration/sysConfiguration/**", "anon"); //系统配置 filterChainDefinitionMap.put("/sys/cas/client/validateLogin", "anon"); //cas验证登录 filterChainDefinitionMap.put("/sys/randomImage/**", "anon"); //登录验证码接口排除 diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java index 2d08767e..4a4a4df9 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java @@ -1557,4 +1557,12 @@ public class AnnualCompPointController extends JeecgController findcomppxq(@RequestParam(name = "id", required = true) String id) { + AnnualCompPoint annualCompPoint = annualCompPointService.getById(id); + return Result.OK(annualCompPoint); + } + + } diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java index 30a455f4..b9113822 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java @@ -586,6 +586,11 @@ public class AnnualCompController extends JeecgController findndbswxq(@RequestParam(name = "id", required = true) String id) { + AnnualComp annualComp =annualCompService.getById(id); + return Result.OK(annualComp); + } } diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/comp/controller/CompController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/comp/controller/CompController.java index 87a56161..4c63d231 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/comp/controller/CompController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/comp/controller/CompController.java @@ -450,5 +450,12 @@ public class CompController extends JeecgController { return Result.OK(compList); } + @ApiOperation(value = "获取比赛详情无拦截", notes = "获取比赛详情无拦截") + @GetMapping(value = "/complistnoxq") + public Result complistnoxq(@RequestParam(name = "id", required = true) String id) { + Comp comp = compService.getById(id); + return Result.OK(comp); + } + }