profiles 配置详解

profiles 配置详解 @Profile (value = "pro" ) 1,为什么要使用 profiles 在开发中,一般有两种环境 1,生产环境 [项目上线,客户在使用中,就是生产环境] 2,开发环境[就是开发环境,不解释] 有时候开发环境和生产环境的配置方法是不一样的,那么如何快速的切换呢,这里就要 使用 profiles 文件 2 ,使用方法 1,创建 application-dev
相关文章
相关标签/搜索