Ver código fonte

开发区 请求应用列表

tags/24080901
PoffyZhang 1 ano atrás
pai
commit
ad4c3b0927
1 arquivos alterados com 2 adições e 1 exclusões
  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 Ver arquivo

@@ -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());


Carregando…
Cancelar
Salvar