Skip to content

Commit

Permalink
bug: 获取用户组成员接口分页传参错误 #62
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Aug 23, 2023
1 parent b937423 commit e4c390e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
set("junitVersion", "5.4.2")

if (System.getProperty("snapshot") == "true") {
set('iamVersion', "1.0.30-SNAPSHOT")
set('iamVersion', "1.0.31-SNAPSHOT")
} else {
set('iamVersion', "1.0.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public GradeManagerApplicationResponse updateGradeManagerApplication(String grad
/**
* 用户组成员列表
*/
public ManagerGroupMemberVo getRoleGroupMemberV2(Integer groupId, PageInfoDTO pageInfoDTO);
public ManagerGroupMemberVo getRoleGroupMemberV2(Integer groupId, V2PageInfoDTO pageInfoDTO);

/**
* 用户组成员续期(不需要审批版本)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ public void deleteRoleGroupMemberV2(Integer groupId, String type, String members
}

@Override
public ManagerGroupMemberVo getRoleGroupMemberV2(Integer groupId, PageInfoDTO pageInfoDTO) {
String url = buildURLPage(String.format(V2IamUri.V2_MANAGER_ROLE_GROUP_MEMBER_GET, iamConfiguration.getSystemId(), groupId), pageInfoDTO);
public ManagerGroupMemberVo getRoleGroupMemberV2(Integer groupId, V2PageInfoDTO pageInfoDTO) {
String url = v2BuildURLPage(String.format(V2IamUri.V2_MANAGER_ROLE_GROUP_MEMBER_GET, iamConfiguration.getSystemId(), groupId), pageInfoDTO);
try {
String responseStr = apigwHttpClientService.doHttpGet(url);
if (StringUtils.isNotBlank(responseStr)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ public void testVerifyGroupValidMember() {

@Test
public void testV2GetRoleGroupMember() {
PageInfoDTO pageInfoDTO = new PageInfoDTO();
pageInfoDTO.setLimit(1L);
pageInfoDTO.setOffset(0L);
V2PageInfoDTO pageInfoDTO = new V2PageInfoDTO();
pageInfoDTO.setPageSize(1);
pageInfoDTO.setPage(0);
ManagerGroupMemberVo managerGroupMemberVo = v2ManagerService.getRoleGroupMemberV2(10031, pageInfoDTO);
System.out.println(managerGroupMemberVo);
}
Expand Down

0 comments on commit e4c390e

Please sign in to comment.