利用IDEA構建springboot應用-Controller的使用

                                                                             Controller的使用 @Controller 處理http請求   @RestController  Spring4之後新加的註解,原來返回json需要@ResponseBody配合@Controller  @RequestMapping
相關文章
相關標籤/搜索