|
|
@ -52,4 +52,11 @@ public class HeWeatherWeatherController extends BladeController { |
|
|
|
}); |
|
|
|
}); |
|
|
|
return R.data(result); |
|
|
|
return R.data(result); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/get7DaysWeatherByLocation") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
|
|
|
|
@ApiOperation("根据经纬度查询") |
|
|
|
|
|
|
|
public R<HeWeatherWeatherDailyResponse> get7DaysWeatherByLocation(@RequestParam @ApiParam(value = "经纬度",required = true) String location) { |
|
|
|
|
|
|
|
return R.data(weatherService.getWeather7dWithCache(location)); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|