From 19a8aed5a1d07aec472609f1617044d8ab9e943f Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期二, 08 四月 2025 22:50:07 +0800
Subject: [PATCH] 新增core的配置
---
aps-modules/aps-core/pom.xml | 7 ++++---
aps-visual/aps-monitor/src/main/resources/bootstrap.yml | 2 ++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/aps-modules/aps-core/pom.xml b/aps-modules/aps-core/pom.xml
index 3714d40..15c683a 100644
--- a/aps-modules/aps-core/pom.xml
+++ b/aps-modules/aps-core/pom.xml
@@ -60,10 +60,11 @@
<artifactId>aps-api-system</artifactId>
</dependency>
- <!-- Mysql Connector -->
+ <!-- PostgreSql椹卞姩鍖� -->
<dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>42.2.14</version>
</dependency>
<!-- RuoYi Common DataSource -->
diff --git a/aps-visual/aps-monitor/src/main/resources/bootstrap.yml b/aps-visual/aps-monitor/src/main/resources/bootstrap.yml
index 54a5ceb..603ccd0 100644
--- a/aps-visual/aps-monitor/src/main/resources/bootstrap.yml
+++ b/aps-visual/aps-monitor/src/main/resources/bootstrap.yml
@@ -15,11 +15,13 @@
discovery:
# 鏈嶅姟娉ㄥ唽鍦板潃
server-addr: 192.168.50.160:8848
+ namespace: 8e9f8829-4286-4925-943a-a6c242767ac2
config:
# 閰嶇疆涓績鍦板潃
server-addr: 192.168.50.160:8848
# 閰嶇疆鏂囦欢鏍煎紡
file-extension: yml
+ namespace: 8e9f8829-4286-4925-943a-a6c242767ac2
# 鍏变韩閰嶇疆
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
--
Gitblit v1.9.3