From 56e96066dd6595085703b25fe2dc317590fb06f2 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 10 七月 2025 16:55:37 +0800
Subject: [PATCH] 1

---
 src/main/resources/application.yml |   70 +++++-----------------------------
 1 files changed, 11 insertions(+), 59 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 41f79b8..5a0ac37 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,14 +1,16 @@
 server:
   port: 9090
+  servlet:
+    context-path: /@pom.build.finalName@
 
 spring:
+  profiles:
+    active: wcs
   application:
-#    name: @pom.artifactId@
-    name:
+    name: @pom.build.finalName@
   datasource:
-    # sql-server
     driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsasrs
+    url: jdbc:sqlserver://127.0.0.1:1433;databasename=ytflasrs
     username: sa
     password: sa@123
   mvc:
@@ -21,11 +23,11 @@
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
-  global-config:
-    field-strategy: 0
+#  global-config:
+#    field-strategy: 0
 
 logging:
-  path: /stock/out/logs
+  path: /stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
@@ -33,55 +35,5 @@
 swagger:
   enable: false
 
-# 涓嬩綅鏈洪厤缃�
-wcs-slave:
-  # 鍫嗗灈鏈�
-  crn[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  crn[1]:
-    id: 2
-    ip: 192.168.1.1
-    port: 8888
-  crn[2]:
-    id: 3
-    ip: 192.168.1.1
-    port: 8888
-  # 绔欑偣
-  devp[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  # 鏉$爜鎵弿浠�
-  barcode[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  # LED
-  led[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  # 纾呯О
-  scale[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+wms:
+  url: 127.0.0.1:8080/wms

--
Gitblit v1.9.1