| | |
| | | private HistoryDailyService historyDailyService; |
| | | @Autowired |
| | | private HistoryFiveMinutelyService historyFiveMinutelyService; |
| | | |
| | | @Autowired |
| | | private CityWeatherService cityWeatherService; |
| | | @Autowired |
| | | private ForecastService forecastService; |
| | | |
| | |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | @GetMapping("insertHCHistoryAqi") |
| | | @ApiOperation(value = "海城省控", notes = "海城省控") |
| | | public ResultMessage insertHCHistoryAqi() { |
| | | historyAqiService.insertHCHistoryAqi(); |
| | | return new ResultMessage(); |
| | | } |
| | | @GetMapping("dateToChangShu") |
| | | @ApiOperation(value = "常熟小时数据", notes = "常熟小时数据") |
| | | public ResultMessage dateToChangShu() { |
| | |
| | | forecastService.forecastO3(); |
| | | return new ResultMessage(); |
| | | } |
| | | @GetMapping("insertCityWeather") |
| | | @ApiOperation(value = "获取天气小时数据", notes = "获取天气小时数据") |
| | | public ResultMessage insertCityWeather() { |
| | | cityWeatherService.insertCityWeather(); |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |