示例指定使用test环境配置@SpringBootTest @ActiveProfiles("test") public class APiServiceImplTest {}参考spring boot-JUnit Test指定profile