generated from youfool-project/youfool-prj-springboot3-template
docs: 选项接口约定改为 List<Map<String, Object>>,value 保持自然类型
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
fb18992d52
commit
c275790fef
|
|
@ -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 + value),value 保持自然类型(Integer 状态码 / String ID)
|
||||
|
||||
### 数据源
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue