GetMapping 注解已经默认封装了@RequestMapping(method = RequestMethod.GET)
所以,比前文 使用 @RequestMapping(path = “/{city_id}/{user_id}”,method = RequestMethod.GET) 更方便
GetMapping 注解已经默认封装了@RequestMapping(method = RequestMethod.GET)
所以,比前文 使用 @RequestMapping(path = “/{city_id}/{user_id}”,method = RequestMethod.GET) 更方便