change
This commit is contained in:
parent
6fecb25da8
commit
6a73886ed2
|
@ -45,7 +45,6 @@ public class WeatherController {
|
|||
*/
|
||||
@PostMapping("/{temperature}/{humidity}")
|
||||
public int saveWeather(@PathVariable int temperature, @PathVariable float humidity) {
|
||||
|
||||
return weatherService.save(temperature, humidity);
|
||||
}
|
||||
|
||||
|
@ -57,7 +56,6 @@ public class WeatherController {
|
|||
*/
|
||||
@PostMapping("/batch")
|
||||
public int batchSaveWeather(@RequestBody List<Weather> weatherList) {
|
||||
|
||||
return weatherService.save(weatherList);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue