| | |
| | | .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() |
| | | .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll() |
| | | .antMatchers("/im/api/**").permitAll() |
| | | .antMatchers("/im/user/**").permitAll() |
| | | .antMatchers("/im/group/**").permitAll() |
| | | .antMatchers("/system/basic/**").permitAll() |
| | | .antMatchers("/product/**").permitAll() |
| | | .antMatchers("/insurancePosition/**").permitAll() |
| | | .antMatchers("/MedicalInsuranceAccount/**").permitAll() |
| | | .antMatchers("/kyc/**").permitAll() |
| | | .antMatchers("/userPolicy/**").permitAll() |
| | | // 除上面外的所有请求全部需要鉴权认证 |
| | | .anyRequest().authenticated(); |
| | | }) |