Spring boot 中各類註解的做用

@Controller: 控制層註解 @Service: 業務邏輯層註解 @Repository:持久層註解 @Autowired:自動注入bean @GetMapping:@RequestMapping(method = RequestMethod.GET)的縮寫 @RequestMapping:指定控制器能夠處理哪些URL請求 @RequestParam:獲取請求參數的值 @PathVa
相關文章
相關標籤/搜索