|
|
@@ -2,6 +2,7 @@ package com.tuoheng.admin.service.third.airport; |
|
|
|
|
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.tuoheng.admin.constant.SystemConstant; |
|
|
|
import com.tuoheng.admin.entity.dto.AirportDetailDto; |
|
|
|
import com.tuoheng.admin.entity.dto.MountEquipment; |
|
|
|
import com.tuoheng.common.core.config.common.CommonConfig; |
|
|
@@ -25,7 +26,7 @@ import java.util.Objects; |
|
|
|
public class GetAirportDetailService { |
|
|
|
|
|
|
|
public JsonResult getAirportDetail(Integer airportId) { |
|
|
|
String url = CommonConfig.airportURL + "/api/airportInterface/getAirportStatus"; |
|
|
|
String url = CommonConfig.airportURL + SystemConstant.API_AIRPORT_STATUS; |
|
|
|
String param = "airportId=" + airportId; |
|
|
|
String result = HttpUtils.sendGet(url, param); |
|
|
|
JsonResult jsonResult = JacksonUtil.json2pojo(result, JsonResult.class); |