From bfbb0cbe87bbacbaf3fdfb5fb3caa935ec91da1f Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期六, 10 一月 2026 16:23:36 +0800
Subject: [PATCH] #1

---
 src/main/resources/application.yml |   42 +++++++++++++++++++++++++++++++++---------
 1 files changed, 33 insertions(+), 9 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 6824914..92150cd 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -2,6 +2,7 @@
   port: 9090
   servlet:
     context-path: /@pom.build.finalName@
+  shutdown: graceful
 
 spring:
   application:
@@ -11,7 +12,7 @@
       validation-timeout: 3000
       connection-test-query: select 1
     driver-class-name: com.mysql.jdbc.Driver
-    url: jdbc:mysql://127.0.0.1:3306/wcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://127.0.0.1:3306/yrwcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
     username: root
     password: root
   mvc:
@@ -25,6 +26,15 @@
     scheduling:
       pool:
         size: 3
+      shutdown:
+        await-termination: true
+        await-termination-period: 30s
+    execution:
+      shutdown:
+        await-termination: true
+        await-termination-period: 30s
+  lifecycle:
+    timeout-per-shutdown-phase: 20s
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
@@ -36,7 +46,7 @@
 
 logging:
   file:
-    path: ./stock/out/@pom.build.finalName@/logs
+    path: /stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
@@ -46,7 +56,7 @@
 
 #License鐩稿叧閰嶇疆
 license:
-  subject: crnWcsDev
+  subject: yrwcs
   publicAlias: publicCert
   storePass: public_zhongyang_123456789
   licensePath: license.lic
@@ -57,23 +67,37 @@
   threadControlCount: 10
   liftType: lift
 
-mainProcessPlugin: FakeProcess
+mainProcessPlugin: NormalProcess
 
 deviceLogStorage:
   # 璁惧鏃ュ織瀛樺偍鏂瑰紡 mysql file
   type: file
   # file绫诲瀷瀛樺偍鍦板潃
-  loggingPath: ./stock/out/@pom.build.finalName@/deviceLogs
+  loggingPath: /stock/out/@pom.build.finalName@/deviceLogs
   # 鏃ュ織杩囨湡鏃堕棿 鍗曚綅澶�
   expireDays: 7
 
 llm:
+  platform: python
+  pythonPlatformUrl: http://127.0.0.1:9000/ai/diagnose/askStream
 #  base-url: https://api.siliconflow.cn/v1
 #  api-key: sk-sxdtebtquwrugzrmaqqqkzdzmrgzhzmplwwuowysdasccent
 #  model: deepseek-ai/DeepSeek-V3.2
-  base-url: http://47.76.147.249:9998/e/7g7kqxxt1ei2un71
-  api-key: app-mP0O6aY5WpbfaHs7BNnjVkli
-  model: deepseek-ai/DeepSeek-V3.2
+#  base-url: http://47.76.147.249:9998/e/7g7kqxxt1ei2un71
+#  api-key: app-mP0O6aY5WpbfaHs7BNnjVkli
+#  model: deepseek-ai/DeepSeek-V3.2
 #  base-url: http://34.2.134.223:3000/v1
 #  api-key: sk-WabrmtOezCFwVo7XvVOrO3QkmfcKG7T7jy0BaVnmQTWm5GXh
-#  model: gemini-3-pro-preview
\ No newline at end of file
+#  model: gemini-3-pro-preview
+#  base-url: http://127.0.0.1:8317/v1
+#  api-key: WznOjAGJNVFKSe9kBZTr
+#  model: gpt-5
+  base-url: https://api.xiaomimimo.com/v1
+  api-key: sk-cw7e4se9cal8cxdgjml8dmtn4pdmqtvfccg5fcermt0ddtys
+  model: mimo-v2-flash
+
+perf:
+  methodTiming:
+    enabled: false
+    thresholdMs: 50
+    sampleRate: 1.0
\ No newline at end of file

--
Gitblit v1.9.1