diff --git a/JC-Salon-Core/src/main/resources/bootstrap.yaml b/JC-Salon-Core/src/main/resources/bootstrap.yaml index 4666dccc..e9039e7d 100644 --- a/JC-Salon-Core/src/main/resources/bootstrap.yaml +++ b/JC-Salon-Core/src/main/resources/bootstrap.yaml @@ -18,8 +18,8 @@ spring: # 是否将当前服务注册到 Nacos。 register-enabled: true # Nacos 认证信息可由运行环境覆盖。 - username: ${NACOS_USERNAME:} - password: ${NACOS_PASSWORD:} + username: ${NACOS_USERNAME:jayucloud} + password: ${NACOS_PASSWORD:122503wcy....} config: # Nacos 配置中心与服务发现使用同一运行环境参数。 server-addr: ${NACOS_SERVER_ADDR:192.168.5.15:8848} @@ -34,8 +34,8 @@ spring: # 是否启用配置中心。 enabled: true # Nacos 认证信息可由运行环境覆盖。 - username: ${NACOS_USERNAME:} - password: ${NACOS_PASSWORD:} + username: ${NACOS_USERNAME:jayucloud} + password: ${NACOS_PASSWORD:122503wcy....} # Core 与 Gateway 共享的公共配置文件。 shared-configs: - data-id: infra.yaml diff --git a/JC-Salon-Gateway/src/main/resources/bootstrap.yaml b/JC-Salon-Gateway/src/main/resources/bootstrap.yaml index 6a2d002f..c6aa4842 100644 --- a/JC-Salon-Gateway/src/main/resources/bootstrap.yaml +++ b/JC-Salon-Gateway/src/main/resources/bootstrap.yaml @@ -14,8 +14,8 @@ spring: # 注册到 Nacos 的服务名。 service: jc-salon-gateway # Nacos 认证信息可由运行环境覆盖。 - username: ${NACOS_USERNAME:} - password: ${NACOS_PASSWORD:} + username: ${NACOS_USERNAME:jayucloud} + password: ${NACOS_PASSWORD:122503wcy....} config: # Nacos 配置中心与服务发现使用同一运行环境参数。 server-addr: ${NACOS_SERVER_ADDR:192.168.5.15:8848} @@ -28,8 +28,8 @@ spring: # 所有 Nacos 配置均使用 YAML。 file-extension: yaml # Nacos 认证信息可由运行环境覆盖。 - username: ${NACOS_USERNAME:} - password: ${NACOS_PASSWORD:} + username: ${NACOS_USERNAME:jayucloud} + password: ${NACOS_PASSWORD:122503wcy....} # Core 与 Gateway 共享的公共配置文件。 shared-configs: - data-id: infra.yaml