| 文件名从 server/src/main/java/com/doumee/config/shiro/ShiroConfig.java 修改 |
| | |
| | | shiroFilterFactoryBean.setSecurityManager(securityManager); |
| | | Map<String, String> map = new LinkedHashMap<>(); |
| | | // 璺緞鎷︽埅閰嶇疆 |
| | | map.put("/web/user/login", "anon"); |
| | | map.put("/public/uploadRichText", "anon"); |
| | | // 璺緞鎷︽埅閰嶇疆 |
| | | // map.put("/system/dictData/companyUserRules","anon"); |
| | | // map.put("/system/login", "anon"); |
| | | // map.put("/system/logout", "anon"); |
| | | // map.put("/common/captcha", "anon"); |
| | | // map.put("/business/areas/*", "anon"); |
| | | // map.put("/public/uploadPicture","anon"); |
| | | // map.put("/public/uploadLocal","anon"); |
| | | |
| | | map.put("/system/dictData/companyUserRules","anon"); |
| | | map.put("/system/login", "anon"); |
| | | map.put("/system/logout", "anon"); |
| | | map.put("/system/loginH5", "anon"); |
| | | map.put("/common/captcha", "anon"); |
| | | //鏀捐 scratch 鎺ュ彛 |
| | | map.put("/web/scratch/**", "anon"); |
| | | map.put("/business/areas/*", "anon"); |
| | | map.put("/public/uploadPicture","anon"); |
| | | map.put("/public/uploadLocal","anon"); |
| | | |
| | | |
| | | // map.put("/business/company/register", "anon"); |
| | | // map.put("/business/labels/page","anon"); |
| | | // map.put("/business/*/list","anon"); |
| | | // map.put("/business/goods/goodsPage","anon"); |
| | | // map.put("/business/goods/h5Image","anon"); |
| | | // map.put("/business/goods/export","anon"); |
| | | // map.put("/business/goods/listForH5","anon"); |
| | | |
| | | |
| | | // - 鏀捐swagger |
| | | map.put("/doc.html", "anon"); |
| | | map.put("/webjars/**", "anon"); |
| | | map.put("/swagger-resources/**", "anon"); |
| | | map.put("/v2/api-docs/**", "anon"); |
| | | |
| | | // - 鍏朵粬鎺ュ彛缁熶竴鎷︽埅 |
| | | map.put("/**", "authc"); |
| | | shiroFilterFactoryBean.setFilterChainDefinitionMap(map); |