Cui YongXing 2024-08-04 16:36:57 +08:00
parent 0a78f5d327
commit 4106e334f1
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import lombok.experimental.SuperBuilder;
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ServiceListReq extends BaseReq{
private int pageNum;
private int pageNo;
@Builder.Default
private int pageSize = 10;
private String groupName;

View File

@ -23,7 +23,7 @@ public class NacosServerService {
do {
serviceListResp = nacosServiceRemote.serviceList(
ServiceListReq.builder()
.pageNum(++pageNum)
.pageNo(++pageNum)
.pageSize(pageSize)
.build()
);