refactor(PageResponse): 将 total 字段类型从 Long 改为 Integer

- 修改了 PageResponse 类中 total 字段的类型,以更好地与前端交互
- 这个改动解决了后端与前端之间关于 total 类型不一致的问题
This commit is contained in:
2025-08-28 09:55:40 +08:00
parent 95d8b742ee
commit 5bb2bc1ac3

View File

@@ -11,7 +11,7 @@ import java.util.List;
@AllArgsConstructor @AllArgsConstructor
public class PageResponse<T> { public class PageResponse<T> {
private List<T> list; private List<T> list;
private Long total; private Integer total;
private Integer page; private Integer page;
private Integer pageSize; private Integer pageSize;
} }