瀏覽代碼

开发区 请求应用列表

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
ad4c3b0927
共有 1 個檔案被更改,包括 2 行新增1 行删除
  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 查看文件

@@ -235,10 +235,11 @@ public class AppIrsManage {
"&appKey=" + searchAppKey + "&pageSize=1000&" +
"pageNum=1&areaCode=" + areaCode +
"&deptCode=&name=";
log.info("查询应用目录:{}",url);
RestTemplate restTemplate = new RestTemplate();
ResponseEntity<String> forEntity = restTemplate.getForEntity(url, String.class);

log.info("查询应用目录 : {}", forEntity.getStatusCode());
log.info("查询应用目录 : {}", forEntity.getBody());

if (Objects.nonNull(forEntity.getBody())) {
JSONObject body = JSON.parseObject(forEntity.getBody());


Loading…
取消
儲存