From 3bf284c9ad88b326de2ef52d01f76b2d985d8d2f Mon Sep 17 00:00:00 2001
From: zy <zy@123>
Date: 星期三, 16 七月 2025 16:13:24 +0800
Subject: [PATCH] #

---
 src/main/resources/application.yml |   44 ++++++++++++++++++++------------------------
 1 files changed, 20 insertions(+), 24 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 053dbc4..069b3f9 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,39 +1,35 @@
 server:
-  port: 9090
+  port: 9098
+  servlet:
+    context-path: /@pom.build.finalName@
 
 spring:
   application:
-#    name: @pom.artifactId@
-    name:
-  datasource:
-    # mysql
-    driver-class-name: com.mysql.jdbc.Driver
-    url: jdbc:mysql://127.0.0.1:3306/zy_wcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
-    username: root
-    password: xltys1995
-    # sql-server
-#    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-#    url: jdbc:sqlserver://192.168.1.103:1433;databasename=cool
-#    username: sa
-#    password: sa@123
+    name: @pom.build.finalName@
+  jmx:
+    enabled: false
   mvc:
     static-path-pattern: /**
   redis:
-    host: localhost
+    host: 127.0.0.1
     port: 6379
     database: 0
-#    password: xltys1995
-
-mybatis-plus:
-  mapper-locations: classpath:mapper/*.xml
-  global-config:
-    field-strategy: 0
+#    password: 123456
 
 logging:
-  path: /stock/out/logs
+  path: ./stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
 
-swagger:
-  enable: false
\ No newline at end of file
+deviceMsgConfig:
+  # 璇诲彇鏁版嵁鍚庤嚜鍔ㄥ垹闄�
+  destroyAfterReading: true
+  # 缃戝叧缂栧彿
+  gatewayId: 1
+  # 缃戝叧绔彛
+  gatewayPort: 8888
+  # 鍚姩妯℃嫙鍣�
+  enableFake: true
+  # 鍚姩妯℃嫙鍣ㄨ澶囩嚎绋�
+  enableFakeDeviceThread: true
\ No newline at end of file

--
Gitblit v1.9.1