Sfoglia il codice sorgente

开发区 请求应用列表

tags/24080901
PoffyZhang 1 anno fa
parent
commit
ad4c3b0927
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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…
Annulla
Salva