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