From 7c4bbcb2ceed34e82212b82d2aa551a87bdaaa0d Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 06 七月 2025 16:55:57 +0800
Subject: [PATCH] #
---
src/main/resources/application.yml | 84 ++++++------------------------------------
1 files changed, 12 insertions(+), 72 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index b43be08..d877347 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,87 +1,27 @@
server:
- port: 9090
+ port: 9099
+ servlet:
+ context-path: /@pom.build.finalName@
spring:
application:
-# name: @pom.artifactId@
- name:
- datasource:
- # sql-server
- driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsasrs
- 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
-
-# 涓嬩綅鏈洪厤缃�
-wcs-slave:
- # 鍫嗗灈鏈�
- crn[0]:
- id: 1
- ip: 192.168.1.1
- port: 8888
- crn[1]:
- id: 1
- ip: 192.168.1.1
- port: 8888
- crn[2]:
- id: 1
- 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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+deviceMsgConfig:
+ # 璇诲彇鏁版嵁鍚庤嚜鍔ㄥ垹闄�
+ destroyAfterReading: true
\ No newline at end of file
--
Gitblit v1.9.1