2023年4月27日
摘要: 一、Bean的依赖注入入门 1. 创建UserService,UserService内部再调用UserDao的save()方法 2. 将UserServiceImpl的创建权交给Spring 3. 从Spring容器中获得UserService进行操作 执行UserController中的main方 阅读全文
posted @ 2023-04-27 17:12 花溪月影 阅读(12) 评论(0) 推荐(0) 编辑