演示demo属于标准maven工程,使用导入maven方式导入即可。关于eclipse/myeclipse/idea 如何配置maven,导入maven工程,不做介绍。
- 运行 tomcat7:run
- 访问 http://localhost:8080
- 操作:模拟登入,输入任意密码,进入..
把控制台打印的模拟日志保存,改成实际入库操作即可。
项目详细设计说明:http://blog.csdn.net/myron_007/article/details/54927529 博客回复疑问不及时。如果有问题可以加临时群,439019717,把问题说明截图,贴下下去。解决完可以退出。
swagger2经常作为接口文档生成工具, 可以和日志做一个整合。以后定义一个接口描述,就能够自动记录接口操作日志,很方便