Browse Source

api 实体 irs

master
PoffyZhang 1 year ago
parent
commit
3a8a14615b
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java

+ 4
- 4
pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java View File

@@ -166,8 +166,8 @@ public class AppIrsManage {
log.info("查询应用目录 : {}",JSON.toJSONString(forEntity));

if(Objects.nonNull(forEntity.getBody()) && Objects.nonNull(forEntity.getBody().getData())
&& CollUtil.isNotEmpty(forEntity.getBody().getData().getApiApplySearchResult())){
return forEntity.getBody().getData().getApiApplySearchResult().get(0);
&& CollUtil.isNotEmpty(forEntity.getBody().getDatas().getApiApplySearchResult())){
return forEntity.getBody().getDatas().getApiApplySearchResult().get(0);
}
return null;
}
@@ -187,8 +187,8 @@ public class AppIrsManage {
log.info("查询应用目录 : {}",JSON.toJSONString(forEntity));

if(Objects.nonNull(forEntity.getBody()) && Objects.nonNull(forEntity.getBody().getData())
&& CollUtil.isNotEmpty(forEntity.getBody().getData().getApiApplySearchResult())){
return forEntity.getBody().getData().getApiApplySearchResult();
&& CollUtil.isNotEmpty(forEntity.getBody().getDatas().getApiApplySearchResult())){
return forEntity.getBody().getDatas().getApiApplySearchResult();
}
return Collections.emptyList();
}


Loading…
Cancel
Save