技术栈

测试指定环境

梁云亮
1 年前
多环境·测试指定环境
SpringBoot 单元测试 指定 环境如上图所示,在配置窗口中添加--spring.profiles.active=dev,就可以了。