docs: 选项接口约定改为 List<Map<String, Object>>,value 保持自然类型

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
chenjy 2026-05-24 10:52:23 +08:00
parent fb18992d52
commit c275790fef
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ modules/{module}/
- **API 路径**:所有接口以 `/api/` 开头
- **对象映射**:新模块推荐 `BeanUtils.copyProperties`,而非 MapStruct
- **删除接口**:用 `Map<String, String>` 接收 id
- **选项接口**:返回 `List<Map<String, String>>`label + value
- **选项接口**:返回 `List<Map<String, Object>>`label + valuevalue 保持自然类型Integer 状态码 / String ID
### 数据源