什么是 Spring Profiles?

答案解析

Spring Profiles 用于按环境(开发、测试、生产)区分配置和 Bean,激活不同 Profile 加载对应配置,实现环境隔离。