1 @controller 注解定义控制器
2 @requestMapping 找到控制器并把请求分发到控制器
3 @service 定义业务逻辑类
4 @repository 定义数据接口类
5 @resource 实现注入