Browse Source

机场调用修改

tags/v1.1.0^2
chenjiandong 1 year ago
parent
commit
8801a69f5c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java View File

@@ -107,7 +107,7 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper,
//这边需要配置到yml文件里面
Tenant tenant = tenantMapper.selectById(ShiroUtils.getTenantId());
String url = tenant.getAirportUrl() +"/api/airportInterface/airportList";
String param = "page=1&limit=1000&tenantCode=" + URLEncoder.encode(tenant.getCode(), "UTF-8");
String param = "page=1&limit=1000&tenantCode=" + tenant.getCode();
log.info("****** airportList param tenantCode:{}", tenant.getCode());
String airPortStr = HttpUtils.sendGet(url, param);
JsonResult jsonResult = JacksonUtil.json2pojo(airPortStr, JsonResult.class);

Loading…
Cancel
Save