Browse Source

api 实体 irs

tags/24080901
PoffyZhang 1 year ago
parent
commit
d60c650a9d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java

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

@@ -86,7 +86,8 @@ public class AppIrsManage {
ApiApplyDTO apiApply = new ApiApplyDTO();
apiApply.setAppId(appCode);
JSONObject jsonObject = this.searchApp(apiApply);
VUtils.isTrue(Objects.isNull(jsonObject)).throwMessage("应用在IRS不存在!");
JSONObject datas = jsonObject.getJSONObject("datas");
VUtils.isTrue(Objects.isNull(datas)).throwMessage("应用在IRS不存在!");
JSONObject data = jsonObject.getJSONObject("data");
VUtils.isTrue(Objects.isNull(data)).throwMessage("应用在IRS不存在!");
JSONArray apiArray = data.getJSONArray("apiApplySearchResult");


Loading…
Cancel
Save