From c8f352275d4dd4c6f81da7af2766409dfcaad2f1 Mon Sep 17 00:00:00 2001 From: zch Date: Tue, 17 Dec 2024 10:27:33 +0800 Subject: [PATCH] =?UTF-8?q?config(security):=20=E5=85=81=E8=AE=B8=E5=8C=BF?= =?UTF-8?q?=E5=90=8D=E8=AE=BF=E9=97=AE=E7=9C=8B=E6=9D=BF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增两个接口的访问权限: - /ems/base/baseMonitorInfo/list - /ems/base/baseMonitorInfo/monitorInfoTree -这些接口现在可以无需认证直接访问 --- .../main/java/com/ruoyi/framework/config/SecurityConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index a45e4d6..a253516 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -123,6 +123,8 @@ public class SecurityConfig .antMatchers("/record/recordBusbarAlarm/recordBusbarAlarmCount").permitAll() .antMatchers("/ems/record/recordIOTInstant/selectLastTWTempertureData").permitAll() .antMatchers("/record/recordBusbarTemp/boardTempList").permitAll() + .antMatchers("/ems/base/baseMonitorInfo/list").permitAll() + .antMatchers("/ems/base/baseMonitorInfo/monitorInfoTree").permitAll() // 允许匿名访问 看板 下所有页面 .antMatchers("/board/**").permitAll()