Pārlūkot izejas kodu

新增考察相关

Administrator 1 gadu atpakaļ
vecāks
revīzija
62505e2455

+ 1 - 1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java

@@ -113,7 +113,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 // 对于登录login 注册register 验证码captchaImage 允许匿名访问
                 .antMatchers("/login", "/register", "/captchaImage").permitAll()
                 .antMatchers("/ueditor/**").permitAll()
-                .antMatchers("/investigate/**","/investigate/disposition/**").permitAll()
+                .antMatchers("/investigate/**","/investigate/disposition/**","/sendSms/**").permitAll()
                 .antMatchers("/login", "/register", "/captchaImage","/common/filetext").permitAll()
                 // 静态资源,可匿名访问
                 .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()