同步代码

This commit is contained in:
sxu 2024-08-22 09:35:24 +08:00
parent da6e8027e2
commit caa15df1bd
3 changed files with 24 additions and 20 deletions

View File

@ -11,21 +11,20 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 192.168.0.56:8848
namespace: sgzb_cloud_dev_cqjj
server-addr: 192.168.0.62:8848
namespace: sgzb_cloud_dev_nw
config:
# 配置中心地址
server-addr: 192.168.0.56:8848
namespace: sgzb_cloud_dev_cqjj
server-addr: 192.168.0.62:8848
namespace: sgzb_cloud_dev_nw
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 多站点特殊配置
sgzb:
site: cq
job:
settlementJobDay: 21
settlementJobCron: "0 0 1 21 * ?"
# 禁用Actuator端点的未经身份验证的访问
management:
endpoint:
env:
enabled: false

View File

@ -12,20 +12,19 @@ spring:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
namespace: sgzb_cloud_dev_cqjj
namespace: sgzb_cloud_dev_nw
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
namespace: sgzb_cloud_dev_cqjj
namespace: sgzb_cloud_dev_nw
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 多站点特殊配置
sgzb:
site: cq
job:
settlementJobDay: 21
settlementJobCron: "0 0 1 21 * ?"
# 禁用Actuator端点的未经身份验证的访问
management:
endpoint:
env:
enabled: false

View File

@ -1,6 +1,6 @@
# Tomcat
server:
port: 39302
port: 49302
# Spring
spring:
@ -10,3 +10,9 @@ spring:
profiles:
# 环境配置
active: sgzb_cloud_local
sgzb:
site: nw
job:
settlementJobDay: 1
settlementJobCron: "0 0 1 1 * ?"