src/main/java/com/moral/task/RealWeatherInsertTask.java
@@ -21,7 +21,11 @@ @XxlJob("realWeatherHour") public ReturnT insertRealWeather(String param) throws ParseException { realWeatherService.insertRealWeather(); return new ReturnT(200, "插入成功"); int count = realWeatherService.insertRealWeather(); if (count > 0) { return new ReturnT(200, "插入成功"); }else { return new ReturnT(200, "插入失败"); } } }