|
|
@@ -4,6 +4,7 @@ import cn.hutool.core.collection.CollectionUtil; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.tuoheng.admin.constant.SystemConstant; |
|
|
|
import com.tuoheng.admin.entity.Business; |
|
|
|
import com.tuoheng.admin.entity.FlightData; |
|
|
|
import com.tuoheng.admin.entity.Inspection; |
|
|
@@ -135,7 +136,7 @@ public class UpdateWaittStatusService { |
|
|
|
} |
|
|
|
|
|
|
|
public JsonResult getWeather(String airportUrl, Integer airportId) { |
|
|
|
String url = airportUrl + "/api/airportInterface/getWeather"; |
|
|
|
String url = airportUrl + SystemConstant.API_AIRPORT_GET_WEATHER; |
|
|
|
String param = "airportId=" + airportId; |
|
|
|
String weatherStr = HttpUtils.sendGet(url, param); |
|
|
|
JsonResult jsonResult; |