From 3aca258d8bae571f6e9931bbde269cea7b8f62af Mon Sep 17 00:00:00 2001
From: 77 <77@77.com>
Date: Mon, 27 May 2024 15:05:51 +0800
Subject: [PATCH] 123
---
ruoyi-admin/pom.xml | 10 ++++++++++
ruoyi-admin/src/main/resources/application-dev.yml | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml
index 70141561..2259829b 100644
--- a/ruoyi-admin/pom.xml
+++ b/ruoyi-admin/pom.xml
@@ -124,6 +124,16 @@
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.2.2
+
+
+ **/application-dev.yml
+
+
+
org.apache.maven.plugins
maven-war-plugin
diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml
index 6cbcb293..8780ea55 100644
--- a/ruoyi-admin/src/main/resources/application-dev.yml
+++ b/ruoyi-admin/src/main/resources/application-dev.yml
@@ -20,7 +20,7 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
- url: jdbc:mysql://124.222.254.188:4306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
+ url: jdbc:mysql://124.220.152.123:5306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: root
password: 383200134
# 从库数据源