Bläddra i källkod

根据机场id查询机场信息

tags/v1.2.0^2
chengwang 1 år sedan
förälder
incheckning
c8949a1e84
1 ändrade filer med 1 tillägg och 2 borttagningar
  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 Visa fil

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

Laddar…
Avbryt
Spara