update 优化 统一补全代码注释

This commit is contained in:
疯狂的狮子Li
2026-03-13 19:36:14 +08:00
parent 916282ba68
commit 48992b574d
201 changed files with 2554 additions and 465 deletions

View File

@@ -43,7 +43,9 @@ public class SecurityConfig implements WebMvcConfigurer {
private String ssePath;
/**
* 注册sa-token的拦截器
* 注册 Sa-Token 路由拦截器并配置鉴权规则。
*
* @param registry 拦截器注册器
*/
@Override
public void addInterceptors(InterceptorRegistry registry) {
@@ -87,7 +89,9 @@ public class SecurityConfig implements WebMvcConfigurer {
}
/**
* actuator 健康检查接口 做账号密码鉴权
* actuator 健康检查接口配置 Basic Auth 鉴权过滤器。
*
* @return Sa-Token Servlet 过滤器
*/
@Bean
public SaServletFilter getSaServletFilter() {

View File

@@ -16,6 +16,4 @@ public class SecurityProperties {
* 排除路径
*/
private String[] excludes;
}

View File

@@ -23,6 +23,9 @@ public class AllUrlHandler implements InitializingBean {
private List<String> urls = new ArrayList<>();
/**
* 初始化并收集系统中的全部请求路径。
*/
@Override
public void afterPropertiesSet() {
Set<String> set = new HashSet<>();