| | |
| | | .authorizeRequests() |
| | | // 对于登录login 注册register 验证码captchaImage 允许匿名访问 |
| | | .antMatchers("/getPrivacyAgreement/{agreementType}", |
| | | "/applet/queryProtocolConfigByType","/api/loginApp", |
| | | "/api/login","/open/login","/applet/queryProtocolConfigByType", |
| | | "/applet/queryProtocolConfigByType","/loginApp", |
| | | "/login","/open/login","/applet/queryProtocolConfigByType", |
| | | "/register","/applet/getCode","/applet/loginCode", |
| | | "/applet/changepwd", "/captchaImage","/getCode","/loginCode", |
| | | "/operations/getBySingleNum/**", |
| | | "/user/getUserInfoByNumber/**", |
| | | |
| | | "/index/**", |
| | | "/employment/**", |
| | | "/partyBuilding/**" |
| | | "/partyBuilding/**", |
| | | "/convenience/getServiceGuide", |
| | | "/convenience/getServiceGuideFile", |
| | | "/convenience/getConvenientInformationList", |
| | | "/convenience/getConvenientInformationDetail/**", |
| | | "/convenience/getMicroWishList", |
| | | "/convenience/getCommunityActivityList", |
| | | "/convenience/getCommunityActivityDetail/**", |
| | | "/convenience/getDeliberationVoteList", |
| | | "/convenience/getDeliberationVoteDetail/**", |
| | | "/merchant/**", |
| | | "/openIdByJsCode", |
| | | "/t-appeal-services/pageListLarge","/t-large-dept/list", |
| | | "/t-large-key-grid-user/pageListLarge","/t-large-key-personnel-type/pageListLarge", |
| | | "/t-large-organization/pageListLarge","/t-large-resource/pageListLarge", |
| | | "/t-large-resource-type/list","/t-large-social-worker/pageListLarge", |
| | | "/t-large-user/pageListLarge","/t-large-volunteer/pageListLarge", |
| | | "/pension/getAssistedDiningList", |
| | | "/pension/getAssistedDiningDetail", |
| | | "/monitor/**", |
| | | "/statistics/**","/course/**","/wx/**","/t-help-needs/pageList" |
| | | ).permitAll() |
| | | // 静态资源,可匿名访问 |
| | | .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() |