springboot learn
springboot
controller
可以接收从前端传来的数据
通过调用service和serviceimpl层处理数据
service
定义一些seviceimpl需要的函数
serviceImpl
实现在service中定义的函数
在其中调用了dao层和pojo层的函数
dao
userMapper调用一些函数来实现对数据库的查询与修改
pojo
userbean可以处理来自数据库的数据
mapper
通过mybatis对数据库进行操作
application.yml
配置数据库,将pojo和mapper联系起来
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.



