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

@@ -27,6 +27,13 @@ public class SecurityConfig {
this.adminContextPath = adminServerProperties.getContextPath();
}
/**
* 配置监控后台的安全过滤链。
*
* @param httpSecurity Spring Security 配置对象
* @return 安全过滤链
* @throws Exception 构建过滤链异常
*/
@Bean
public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Exception {
SavedRequestAwareAuthenticationSuccessHandler successHandler = new SavedRequestAwareAuthenticationSuccessHandler();

View File

@@ -24,6 +24,13 @@ public class CustomNotifier extends AbstractEventNotifier {
super(repository);
}
/**
* 处理实例事件并记录状态变化日志。
*
* @param event 实例事件
* @param instance 当前实例
* @return Reactor 执行结果
*/
@Override
@SuppressWarnings("all")
protected Mono<Void> doNotify(InstanceEvent event, Instance instance) {