@@ -137,6 +137,8 @@ security: | |||
# actuator 监控配置 | |||
- /actuator | |||
- /actuator/** | |||
# 跳脱路径 | |||
- /nj/balance/manage/generateYearBalance | |||
# MyBatisPlus配置 | |||
# https://baomidou.com/config/ |
@@ -34,6 +34,7 @@ public class SecurityConfig { | |||
, adminContextPath + "/login" | |||
, "/actuator" | |||
, "/actuator/**" | |||
, "/nj/balance/manage/generateYearBalance" | |||
).permitAll() | |||
.anyRequest().authenticated() | |||
.and() |