摘要: 本文主要记录几个注释的使用方法。 1. @Controller : 处理http请求 2. @RequestMapping : 配置URL映射 3. @RestController : 组合注解,spring 4之后新加的注解,相当于@Controller和@ResponseBody配合使用 4. 阅读全文
posted @ 2017-07-26 21:31 aston 阅读(3972) 评论(0) 推荐(0) 编辑