| | |
| | | "/operations/getBySingleNum/**", |
| | | "/user/getUserInfoByNumber/**", |
| | | "/wxLogin/**","/t-contract/import-template","/t-contract/importContracts", |
| | | "/open/**","/cos/get/**" |
| | | "/aiCallback/reportReturn","/t-sys-activity/list","/t-sys-activity/pageList","/t-sys-activity/getDetailById", |
| | | "/t-sys-banner/pageList","/t-sys-banner/list","/t-sys-product-introduction/pageList", |
| | | "/t-sys-product-introduction/list","/t-sys-product-introduction/getDetailById","/t-sys-config/getDetailById", |
| | | "/open/**","/cos/get/**","/openIdByJsCode","/t-sys-order/**" |
| | | ).permitAll() |
| | | // 静态资源,可匿名访问 |
| | | .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() |
| | | .antMatchers("/swagger-ui.html","/doc.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll() |
| | | .antMatchers("/t-sys-order/**").permitAll() |
| | | // 除上面外的所有请求全部需要鉴权认证 |
| | | .anyRequest().authenticated() |
| | | .and() |