Browse Source

根据机场id查询机场信息

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
c8949a1e84
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/index/IndexServiceImpl.java

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/index/IndexServiceImpl.java View File

@@ -26,9 +26,8 @@ public class IndexServiceImpl implements IndexService{
@Override
public JsonResult getAirportMsg(Integer airportId) {
String url = CommonConfig.airportURL + "/api/airportInterface/getAirportStatus";
String param = "airportId" + airportId;
String param = "airportId=" + airportId;
String result = HttpUtils.sendGet(url, param);
//JSONObject jsonObject = JSON.parseObject(result);
JsonResult jsonResult = JacksonUtil.json2pojo(result, JsonResult.class);
AirportMsgVo airportMsgVo = new AirportMsgVo();
JSONObject dataObject = (JSONObject) JSONObject.toJSON(jsonResult.getData());

Loading…
Cancel
Save