摘要: 方式1 使用注解@Bean注入到Spring IoC容器中 定义一个POJO对象 User.java public class User{ private Long id; private String userName; private String note; /** setter and ge 阅读全文
posted @ 2020-10-30 13:01 maurrinho 阅读(2203) 评论(0) 推荐(1) 编辑