From f5e49b2c04137fdc88c453cbe5d190cf7daab079 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期二, 30 十二月 2025 15:39:53 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index d01825c..41d4c4c 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:
@@ -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
@@ -35,13 +45,22 @@
 
 
 logging:
-  path: ./stock/out/@pom.build.finalName@/logs
+  file:
+    path: /stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
 
 swagger:
   enable: false
+
+#License鐩稿叧閰嶇疆
+license:
+  subject: crnWcsDev
+  publicAlias: publicCert
+  storePass: public_zhongyang_123456789
+  licensePath: license.lic
+  publicKeysStorePath: publicCerts.keystore
 
 deviceExecuteConfig:
   # 姣忎釜绾跨▼绠℃帶璁惧鎵ц鏁伴噺
@@ -50,7 +69,27 @@
 
 mainProcessPlugin: FakeProcess
 
-# 璁惧鏃ュ織瀛樺偍鏂瑰紡 mysql file
 deviceLogStorage:
+  # 璁惧鏃ュ織瀛樺偍鏂瑰紡 mysql file
   type: file
-  loggingPath: ./stock/out/@pom.build.finalName@/deviceLogs
+  # file绫诲瀷瀛樺偍鍦板潃
+  loggingPath: /stock/out/@pom.build.finalName@/deviceLogs
+  # 鏃ュ織杩囨湡鏃堕棿 鍗曚綅澶�
+  expireDays: 7
+
+llm:
+#  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://34.2.134.223:3000/v1
+#  api-key: sk-WabrmtOezCFwVo7XvVOrO3QkmfcKG7T7jy0BaVnmQTWm5GXh
+#  model: gemini-3-pro-preview
+
+perf:
+  methodTiming:
+    enabled: false
+    thresholdMs: 50
+    sampleRate: 1.0
\ No newline at end of file

--
Gitblit v1.9.1