This commit is contained in:
chenyanchang
2026-06-04 16:52:19 +08:00
parent 1db9243cee
commit 24eced691e
2 changed files with 4 additions and 5 deletions

View File

@@ -114,9 +114,8 @@ public class SecurityConfig
requests.antMatchers("/sso/pc/code/login","/sso/pcms/code/login","/sso/token/login","/sso/code/login","/login","/loginoss",
"/register", "/captchaImage","/app/login","/websocket/**","/ws/**","/speech-recognition","/speech-synthesis",
"/cms/company/listPage","/cms/appUser/noTmlist","/getTjmhToken","/getWwTjmhToken","/getWwTjmHlwToken",
"/cms/notice/noticTotal","/cms/jobApply/zphApply","/cms/jobApply/zphApplyAgree", "/cms/policyInfo/list",
"/cms/policyInfo/detail", "/cms/industry/treeselect"
).permitAll()
"/cms/notice/noticTotal","/cms/jobApply/zphApply","/cms/jobApply/zphApplyAgree","/cms/policyInfo/list",
"/cms/policyInfo/detail","/cms/industry/treeselect").permitAll()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
// 移动端公用查询,可匿名访问