liujie
1 天以前 b4f6e9c0e6717de2c969be147393cddd8f2767a1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -119,11 +119,15 @@
                        "/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()