|
@@ -202,7 +202,7 @@ public class WeatherController {
|
|
|
|
|
|
WeatherResultEntity weatherResultEntity = new WeatherResultEntity();
|
|
WeatherResultEntity weatherResultEntity = new WeatherResultEntity();
|
|
|
|
|
|
- weatherResultEntity.setLocation(farm.getLocation());
|
|
|
|
|
|
+ weatherResultEntity.setLocation(farm.getFrontLocation());
|
|
|
|
|
|
weatherResultEntity.setAlarm( alarm.toString());
|
|
weatherResultEntity.setAlarm( alarm.toString());
|
|
|
|
|
|
@@ -243,7 +243,6 @@ public class WeatherController {
|
|
return new Result(ResultCode.SUCCESS, weatherResultEntity);
|
|
return new Result(ResultCode.SUCCESS, weatherResultEntity);
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|