docs 补充项目注释

This commit is contained in:
AprilWind
2026-06-01 10:48:09 +08:00
parent f3ed8e82a7
commit 941c0b9032
73 changed files with 531 additions and 1 deletions
+2
View File
@@ -16,11 +16,13 @@
</description>
<dependencies>
<!-- 核心模块 -->
<dependency>
<groupId>org.dromara</groupId>
<artifactId>ruoyi-common-core</artifactId>
</dependency>
<!-- Jackson 序列化 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jackson</artifactId>
@@ -14,6 +14,13 @@ import java.util.List;
@AutoConfiguration
public class JsonEnhancementConfig {
/**
* 创建 JSON 字段增强处理器入口。
*
* @param jsonMapper JSON 映射器
* @param processors 字段处理器集合
* @return JSON 值增强器
*/
@Bean
public JsonValueEnhancer jsonValueEnhancer(JsonMapper jsonMapper, List<JsonFieldProcessor> processors) {
return new JsonValueEnhancer(jsonMapper, processors);
@@ -26,8 +26,14 @@ public @interface JsonPattern {
*/
String message() default "不是有效的 JSON 格式";
/**
* Bean Validation 分组。
*/
Class<?>[] groups() default {};
/**
* Bean Validation 负载信息。
*/
Class<? extends Payload>[] payload() default {};
}