Browse Source

1、swagger文档权限打开

master
Aug 1 week ago
parent
commit
7de3ec3048
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
  2. +1
    -1
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/exhibitController/LoginApiController.java

+ 2
- 0
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java View File

@ -72,6 +72,8 @@ public class ShiroConfig {
} }
} }
filterChainDefinitionMap.put("/exhibit/**", "anon"); //小程序验证放开
filterChainDefinitionMap.put("/sys/oss/file/upload", "anon"); //图片上传验证放开 filterChainDefinitionMap.put("/sys/oss/file/upload", "anon"); //图片上传验证放开
filterChainDefinitionMap.put("/sys/common/upload", "anon"); //图片上传验证放开 filterChainDefinitionMap.put("/sys/common/upload", "anon"); //图片上传验证放开
filterChainDefinitionMap.put("/sys/cas/client/validateLogin", "anon"); //cas验证登录 filterChainDefinitionMap.put("/sys/cas/client/validateLogin", "anon"); //cas验证登录


+ 1
- 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/exhibitController/LoginApiController.java View File

@ -19,7 +19,7 @@ import javax.annotation.Resource;
public class LoginApiController { public class LoginApiController {
/******************************************************************************************************************/ /******************************************************************************************************************/
//工作信息
//登录信息
@Resource @Resource
private LoginApiService loginApiService; private LoginApiService loginApiService;
/******************************************************************************************************************/ /******************************************************************************************************************/


Loading…
Cancel
Save