liusheng
2025-08-12 65314b14210a175bae095649584614973b3619df
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -103,7 +103,7 @@
                // 过滤请求
                .authorizeRequests()
                // 对于登录login 注册register 验证码captchaImage 允许匿名访问
                .antMatchers("/login","/openidlogin", "/register", "/captchaImage").anonymous()
                .antMatchers("/login","/openidlogin", "/register", "/captchaImage", "/getToken").anonymous()
                .antMatchers(
                        HttpMethod.GET,
                        "/",