入门基本配置
文件上传:支持上传多个文件,支持图片回显
poi导入导出excel,支持.xls、.xlsx格式
-
整合springboot、mybatis、redis、swagger2
-
配置druid监控慢sql、响应时长的接口 访问地址:http://localhost:8080/druid/login.html 用户名:admin 密码:admin
如图:https://ibb.co/cuSZoS -
使用swagger2生成文档 访问地址:http://localhost:8080/swagger-ui.html
如图:https://ibb.co/ftEQv -
使用PageHelper插件实现分页
-
使用logback记录日志
-
使用redis缓存数据
测试war、jar包、jar包和配置文件依赖包分开打包三种部署方式,为springboot内置tomcat设置虚拟目录
springboot整合elasticsearch,提供增删改查简单案例。(可参考慕课网学习视频:https://www.imooc.com/learn/889)
springboot异步发送邮件:支持发送简单文本、html页面、velocity模板
springboot-thumbnail: 压缩图片
springboot-maven-multi: springboot创建maven多模块项目
springboot-dubbo: springboot整合dubbo
springboot-runner: springboot项目启动成功后执行一段代码的两种方式
方法一:实现ApplicationRunner接口
方法二:实现CommandLineRunner接口
当实现了多个接口时,可使用Order注解来指定执行顺序,值越小,先执行
参考资料:https://blog.csdn.net/zknxx/article/details/52196427
springboot-rabbitmq: springboot整合rabbitmq
参考资料:https://juejin.im/post/59f194e06fb9a0451329ec53
springboot-docker: 使用docker部署springboot
构建命令:mvn clean package -Dmaven.test.skip=true docker:build
参考资料:http://www.ityouknow.com/springboot/2018/03/19/spring-boot-docker.html
springboot-session-redis: springboot整合spring session和redis解决分布式session共享问题
可参考资料:https://www.cnblogs.com/zuidongfeng/p/10260897.html
springboot-http-client: http-client 使用案例, 包括 GET、POST 表单提交,POST 提交 json 类型参数,文件上传
测试用例:HttpUtilTest
demo-spring-boot-starter: 自定义 starter 示例
参考资料:https://juejin.im/entry/58d37630570c350058c2c15c#comment