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, "/",