From 9635e42dfd2f5e0577e2c97309b980e76ec0842b Mon Sep 17 00:00:00 2001
From: skyouc <958836976@qq.com>
Date: 星期二, 24 二月 2026 14:48:58 +0800
Subject: [PATCH] no message

---
 src/main/resources/application-dev.yml |    8 ++++----
 pom.xml                                |    9 +++++++++
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 28abaa7..e179cb6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -133,6 +133,15 @@
 
     <build>
         <finalName>wms</finalName>
+        <resources>
+            <resource>
+                <directory>src/main/resources</directory>
+            </resource>
+            <resource>
+                <directory>src/main/webapp</directory>
+                <targetPath>static</targetPath>
+            </resource>
+        </resources>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 6648022..fcb6c2b 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -1,19 +1,19 @@
 server:
   port: 8080
   servlet:
-    context-path: /@pom.build.finalName@
+    context-path: /wms
 
 spring:
   application:
-    name: @pom.build.finalName@
+    name: wms
   jmx:
     enabled: false
   datasource:
     driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
     username: sa
     password: sa@123
-    url: jdbc:sqlserver://192.168.238.32:1433;databasename=jsxsasrs
-#    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsxsasrs
+    url: jdbc:sqlserver://192.168.238.31:1433;databasename=jsxsasrs
+#    url: jdbc:sqlserver://192.168.4.34:1433;databasename=jsxsasrs
   mvc:
     static-path-pattern: /**
   redis:

--
Gitblit v1.9.1