Spring Boot经常使用注解

一、@RequestMapping(value = {"/hello", “/hi”}, method = RequestMethod.GET)web 此时访问/hello或者/hi均可以访问到该方法数据库 二、@RequestMapping也能够用在类上app 三、@RequestMapping的属性method = RequestMethod.GET不写时用get/post均可以访问到。可是不
相关文章
相关标签/搜索