同步代码

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

View File

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

View File

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