LIVE_YE 1 năm trước cách đây
mục cha
commit
48639e25de

+ 0 - 2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/reservat/BomanReservatController.java

@@ -123,7 +123,6 @@ public class BomanReservatController extends BaseController
     /**
      * 陵园实时参观统计
      */
-    @PreAuthorize("@ss.hasPermi('system:reservat:realTime')")
     @GetMapping("/statistics/realTime")
     public AjaxResult realTime()
     {
@@ -133,7 +132,6 @@ public class BomanReservatController extends BaseController
     /**
      * 陵园实时参观统计
      */
-    @PreAuthorize("@ss.hasPermi('system:reservat:people')")
     @GetMapping("/statistics/people")
     public AjaxResult people()
     {

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

@@ -112,7 +112,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 .authorizeRequests()
                 // 对于登录login 注册register 验证码captchaImage 允许匿名访问
                 .antMatchers("/login", "/register", "/captchaImage","/boman/common/**","/sendSms/**").permitAll()
-                .antMatchers("/login", "/register", "/captchaImage").permitAll()
                 .antMatchers("/system/personnel/**", "/reservat/config/**", "/reservat/time/**","/system/reservat/**","/system/news/**").permitAll()
                 // 静态资源,可匿名访问
                 .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()