From 6eddbbc337d8ab1de6daaa5afda2699179e3e8db Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期一, 05 五月 2025 20:33:54 +0800 Subject: [PATCH] fix:修复bug --- ruoyi-admin/pom.xml | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index e4ff18f..da03592 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -44,8 +44,7 @@ </dependency> <dependency> <groupId>com.microsoft.sqlserver</groupId> - <artifactId>mssql-jdbc</artifactId> - <version>9.4.0.jre8</version> + <artifactId>mssql-jdbc</artifactId> </dependency> <!-- 鏍稿績妯″潡--> <dependency> @@ -80,6 +79,10 @@ <version>2.5.15</version> <configuration> <fork>true</fork> <!-- 濡傛灉娌℃湁璇ラ厤缃紝devtools涓嶄細鐢熸晥 --> + <profiles> + <profile>dev</profile> + <profile>prod</profile> + </profiles> </configuration> <executions> <execution> @@ -102,4 +105,24 @@ <finalName>${project.artifactId}</finalName> </build> + <profiles> + <profile> + <id>dev</id> + <properties> + <spring.profiles.active>dev</spring.profiles.active> + <logging.level.com.ruoyi>debug</logging.level.com.ruoyi> + </properties> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + </profile> + <profile> + <id>prod</id> + <properties> + <spring.profiles.active>prod</spring.profiles.active> + <logging.level.com.ruoyi>info</logging.level.com.ruoyi> + </properties> + </profile> + </profiles> + </project> \ No newline at end of file -- Gitblit v1.9.1