摘要: 1 组件添加 /** * 给容器中注册组件 * 1》包扫描+组件标注注解(@Controller @Service @Repository @Component [自己写的类]) * 2》@Bean [导入的第三方包里面的组件] * 3》@Import [快速给容器中导入一个组件] * 1)@Imp 阅读全文
posted @ 2021-10-29 14:16 misr 阅读(42) 评论(0) 推荐(0) 编辑