Spring Boot經常使用註解

一、@RequestMapping(value = {"/hello", 「/hi」}, method = RequestMethod.GET)web 此時訪問/hello或者/hi均可以訪問到該方法數據庫 二、@RequestMapping也能夠用在類上app 三、@RequestMapping的屬性method = RequestMethod.GET不寫時用get/post均可以訪問到。可是不
相關文章
相關標籤/搜索