From bbdced963313eb2660051bb146ca29b5081ec401 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 19 Oct 2023 15:44:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20redis=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restagent/dev.yaml | 4 ++-- restagent/etc/restconf.yaml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/restagent/dev.yaml b/restagent/dev.yaml index 0302fcf..20399e3 100644 --- a/restagent/dev.yaml +++ b/restagent/dev.yaml @@ -50,13 +50,13 @@ redis: default: port: 3189 # Redis port host: "192.168.2.166" # Redis host - password: "" + password: "redis@1234" db: 10 # Redis db_num # UDM网元用户库 udmuser: port: 3189 # Redis port host: "192.168.2.166" - password: "" + password: "redis@1234" db: 0 # Redis db_num # 多个数据源时可以用这个指定默认的数据源 defaultDataSourceName: "default" diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index c4c6654..630d7fb 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -37,9 +37,9 @@ webServer: database: type: mysql user: root - password: "root@1234" - host: "192.168.30.34" - port: 3306 + password: "1000omc@kp!" + host: "192.168.2.166" + port: 33066 name: "omc_db_dev" backup: d:/local.git/ems.agt/restagent/database @@ -48,14 +48,14 @@ redis: dataSource: # OMC系统使用库 default: - port: 6379 # Redis port - host: "192.168.30.34" # Redis host + port: 3189 # Redis port + host: "192.168.2.166" # Redis host password: "redis@1234" db: 10 # Redis db_num # UDM网元用户库 udmuser: - port: 6379 # Redis port - host: "192.168.30.34" + port: 3189 # Redis port + host: "192.168.2.166" password: "redis@1234" db: 0 # Redis db_num # 多个数据源时可以用这个指定默认的数据源