Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/eyes
| | |
| | | "/error", "/swagger**/**", "/configuration/ui", |
| | | "/configuration/security", "/webjars/**", "/doc**/**" |
| | | }; |
| | | /** |
| | | * 文档相关资源路径 |
| | | */ |
| | | public static final String[] DOC_OPTOMETRIST_LIST = |
| | | {"/js/**", |
| | | "/css/**", |
| | | "/static/**", |
| | | "/assets/**", |
| | | "/web/**", |
| | | "/web/css/**", |
| | | "/web/js/**", |
| | | "/web/image/**", |
| | | "/webass/**", |
| | | "/iconfont/**", |
| | | "/RFIDR/**", |
| | | "/tinymce/**", |
| | | "/file/**", |
| | | "/img/**", |
| | | "/images/**", |
| | | "/fonts/**", "/index.html", |
| | | "/favicon.ico", "/v3/**", "/v2/**", |
| | | "/error", "/swagger**/**", "/configuration/ui", |
| | | "/configuration/security", "/webjars/**", "/doc**/**" |
| | | }; |
| | | public static final String[] DO_FILTER_LIST = |
| | | { |
| | | "/js/", |
| | |
| | | */ |
| | | @Override |
| | | public void configure(WebSecurity web) { |
| | | web.ignoring().antMatchers(Constant.DOC_LIST); |
| | | web.ignoring().antMatchers(Constant.DOC_OPTOMETRIST_LIST); |
| | | web.ignoring().antMatchers(Constant.AUTH_WHITELIST); |
| | | } |
| | | |