You've already forked FrameTour-BE
refactor(scenic): 将 scenic 模块列表接口中的 total 字段类型从 Long 改为 Integer
- 修改了 ScenicV2ListResponse 和 ScenicV2WithConfigListResponse 类中的 total 字段类型 - 此更改统一了 total 字段的类型,提高了代码的一致性和可维护性
This commit is contained in:
@@ -11,7 +11,7 @@ public class ScenicV2ListResponse {
|
|||||||
private List<ScenicV2DTO> list;
|
private List<ScenicV2DTO> list;
|
||||||
|
|
||||||
@JsonProperty("total")
|
@JsonProperty("total")
|
||||||
private Long total;
|
private Integer total;
|
||||||
|
|
||||||
@JsonProperty("page")
|
@JsonProperty("page")
|
||||||
private Integer page;
|
private Integer page;
|
||||||
|
@@ -11,7 +11,7 @@ public class ScenicV2WithConfigListResponse {
|
|||||||
private List<ScenicV2WithConfigDTO> list;
|
private List<ScenicV2WithConfigDTO> list;
|
||||||
|
|
||||||
@JsonProperty("total")
|
@JsonProperty("total")
|
||||||
private Long total;
|
private Integer total;
|
||||||
|
|
||||||
@JsonProperty("page")
|
@JsonProperty("page")
|
||||||
private Integer page;
|
private Integer page;
|
||||||
|
Reference in New Issue
Block a user