-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
# 控制器接口设计 | ||
|
||
## 优化 | ||
|
||
部分DTO使用Record类型? | ||
|
||
## 接口定义 | ||
|
||
接口以控制器的方式管理,默认生成的控制器包括以下接口: | ||
|
||
|接口 |路由 |参数说明 |返回|说明| | ||
|---------|---------|---------|----------|----------| | ||
|获取详情 | GET/{id} |从路由中获取id |DetailDto|| | ||
|分页查询 | POST | 参数通过模型绑定 |PageList<ItemDto> | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters