buildprofile: 切换生产环境配置
- 将 ProfilesActiveConstant 中的 LETS_PROFILES_ACTIVE从 "dev" 修改为 "prod" - 在 application.yml 中将 profiles.active 从 "letsprod" 修改为 "lets"
This commit is contained in:
parent
6698315c90
commit
ffe2c6cbf6
|
@ -7,7 +7,7 @@ public class ProfilesActiveConstant {
|
|||
|
||||
public static final String LETS_DATE_SOURCE = "lets_u8c";
|
||||
|
||||
public static final String LETS_PROFILES_ACTIVE = "dev";
|
||||
public static final String LETS_PROFILES_ACTIVE = "prod";
|
||||
|
||||
public static final String LOG_STATUS_Y = "Y";
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ spring:
|
|||
# use-suffix-pattern: true
|
||||
profiles:
|
||||
# active: @profileActive@
|
||||
active: letsprod
|
||||
active: lets
|
||||
# active: @profile.active@
|
||||
# active: dev
|
||||
servlet:
|
||||
|
|
Loading…
Reference in New Issue