接上上一篇博客的继续往下做,上一篇已经实现了mybatis自动生成代码,和连接数据库测试部分 本篇我们添加一些功能,实现登录注册,时间原因,前端实现的很粗糙,以后有时间再改吧 首先看一下数据库的构成,作为一个例子实现的简单点 看了一下mybatis自动生成的代码,不太好用,所以我们自己手写sql,然后按照Dao,Service,Controller的顺序修改代码 工程结构: 具体的代码放Github里了 看一下结果吧 首页: 点击注册: 下一步实现拦截器.shiro等功能 5.26更新: 实现拦