refactor: 增强代码注释以提升可读性和维护性
This commit is contained in:
+6
@@ -87,6 +87,12 @@ public class ResourcesConfig implements WebMvcConfigurer {
|
||||
return new GlobalExceptionHandler();
|
||||
}
|
||||
|
||||
/**
|
||||
* 注册响应增强处理器。
|
||||
*
|
||||
* @param jsonValueEnhancer JSON 字段增强器
|
||||
* @return 响应增强处理器
|
||||
*/
|
||||
@Bean
|
||||
public ResponseEnhancementAdvice responseEnhancementAdvice(JsonValueEnhancer jsonValueEnhancer) {
|
||||
return new ResponseEnhancementAdvice(jsonValueEnhancer);
|
||||
|
||||
Reference in New Issue
Block a user