基于Springboot的Restful风格 1234@RequestMapping(value = "/api/city/{id}", method = RequestMethod.GET)public City findOneCity(@PathVariable("id") Long id) { return cityService.findCityById(id);} 技术 Springboot中http请求的接收方法 上一篇 四月十一日周记 下一篇 Please enable JavaScript to view the comments