【SpringBoot】通过profiles设置环境

 效果图,通过profiles设置环境

【SpringBoot】通过profiles设置环境_第1张图片

 在父级pom.xml中添加配置

    
        
            dev
            
                dev
            
            
                true
            
        
        
            test
            
                test
            
        
    

你可能感兴趣的:(spring,boot,java)