buildprofile: 切换生产环境配置

- 将 ProfilesActiveConstant 中的 LETS_PROFILES_ACTIVE从 "dev" 修改为 "prod"
- 在 application.yml 中将 profiles.active 从 "letsprod" 修改为 "lets"
This commit is contained in:
liuy 2024-11-15 10:35:33 +08:00
parent 6698315c90
commit ffe2c6cbf6
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ public class ProfilesActiveConstant {
public static final String LETS_DATE_SOURCE = "lets_u8c"; 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"; public static final String LOG_STATUS_Y = "Y";

View File

@ -36,7 +36,7 @@ spring:
# use-suffix-pattern: true # use-suffix-pattern: true
profiles: profiles:
# active: @profileActive@ # active: @profileActive@
active: letsprod active: lets
# active: @profile.active@ # active: @profile.active@
# active: dev # active: dev
servlet: servlet: