Spring Boot 组件使用 Demo
Spring Cloud Config
Spring Cloud Config 是一个配置中心,用于存放 SpringCloud 项目的配置
自定义返回值
Spring Boot 中自定义返回值结构
动态数据源
Spring Boot 中实现多数据源,动态数据源切换,更详细的方式可以参考helloworlde/SpringBoot-DynamicDataSource
ElasticSearch
Exception
Spring Boot 中自定义异常处理
Flyway
Flyway 是一个数据库版本管理工具,用于实现数据库版本迁移
HTTPS
Log
Spring Boot 中自定义日志打印、格式以及上传/投递
消息
MyBatis
定时任务
分布式 Session
- SpringBoot 使用 Spring Session 实现 Session 共享 - Redis 存储
- SpringBoot 使用 Spring Session 实现 Session 共享 - 数据库存储