单项选择题
()注解等同于@RequestMapping(RequestMethod.GET)注解,主要作用是设置方法的访问路径并限定其访问方式为Get,此方法的请求处理路径为“/hello”。
A.@SpringBootApplication
B.@RequestMapping
C.@RestController
D.@GetMapping
点击查看答案&解析

单项选择题
A.@SpringBootApplication
B.@RequestMapping
C.@RestController
D.@GetMapping
微信扫一扫,加关注免费搜题