Skip to content

feat: 增加分页实体 APage,使 Swagger 可显示接口的响应示例 - #800

Merged
elunez merged 2 commits into
elunez:masterfrom
JoverZhang:features-swagger-rt-structure
Jun 30, 2023
Merged

feat: 增加分页实体 APage,使 Swagger 可显示接口的响应示例#800
elunez merged 2 commits into
elunez:masterfrom
JoverZhang:features-swagger-rt-structure

Conversation

@JoverZhang

Copy link
Copy Markdown
Contributor
  1. 增加类 APage,并重构 PageUtils
  2. 调整 UserController查询用户 接口的返回值类型

我们希望通过在 Swagger 中展示接口的返回值结构,以便减少前后端的沟通成本,并提升接口对接的效率。

image

image

1. 增加类 APage,并重构 PageUtils
2. 调整 UserController 的 `查询用户` 接口的返回值类型
@elunez
elunez merged commit a74cf51 into elunez:master Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants