报错:org.springframework.web.bind.MissingPathVariableException: Missing URI template variable ‘stationName’ for method parameter of type String
问题代码如下:
解决办法:将@PathVariable
改成@RequestParam
报错:org.springframework.web.bind.MissingPathVariableException: Missing URI template variable ‘stationName’ for method parameter of type String
问题代码如下:
解决办法:将@PathVariable
改成@RequestParam