From 1e441b2d4f3823d7dc275c47df7818c53d5ceec5 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 14 五月 2026 18:54:24 +0800
Subject: [PATCH] chore: 旭晨配置文件
---
src/main/resources/application-sdtx.yml | 33 ++++++++++++++++++++-------------
1 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/src/main/resources/application-demo.yml b/src/main/resources/application-sdtx.yml
similarity index 91%
rename from src/main/resources/application-demo.yml
rename to src/main/resources/application-sdtx.yml
index 096da4e..b6dc374 100644
--- a/src/main/resources/application-demo.yml
+++ b/src/main/resources/application-sdtx.yml
@@ -1,3 +1,4 @@
+锘�
# 椤圭洰鐩稿叧閰嶇疆
ruoyi:
# 鍚嶇О
@@ -7,14 +8,14 @@
# 鐗堟潈骞翠唤
copyrightYear: 2025
# 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛�
- profile: /javaWork/product-inventory-management/file
+ profile: /home/ruoyi/uploadPath
# 鑾峰彇ip鍦板潃寮�鍏�
addressEnabled: false
# 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
captchaType: math
# 鍗忓悓瀹℃壒缂栧彿鍓嶇紑(閰嶇疆鏂囦欢鍚庣紑鍛藉悕)
- approvalNumberPrefix: NEW
+ approvalNumberPrefix: DEV
# 涓帹 Unipush 閰嶇疆
getui:
@@ -28,7 +29,7 @@
# 寮�鍙戠幆澧冮厤缃�
server:
# 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
- port: 9003
+ port: 7003
servlet:
# 搴旂敤鐨勮闂矾寰�
context-path: /
@@ -37,6 +38,9 @@
uri-encoding: UTF-8
# 杩炴帴鏁版弧鍚庣殑鎺掗槦鏁帮紝榛樿涓�100
accept-count: 1000
+ max-swallow-size: -1 # -1 琛ㄧず涓嶉檺鍒�
+ max-http-form-post-size: -1 # POST 璇锋眰浣撲笉闄愬埗
+ connection-timeout: 60000 # 杩炴帴瓒呮椂鏃堕棿(姣)
threads:
# tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200
max: 800
@@ -46,6 +50,7 @@
# 鏃ュ織閰嶇疆
logging:
level:
+ org.quartz: DEBUG
com.ruoyi: warn
org.springframework: warn
@@ -56,7 +61,7 @@
accessKey: admin
secretKey: 12345678
preview-expiry: 24 # 棰勮鍦板潃榛樿24灏忔椂
- default-bucket: jxc
+ default-bucket: uploadPath
# 鐢ㄦ埛閰嶇疆
user:
password:
@@ -73,9 +78,9 @@
druid:
# 涓诲簱鏁版嵁婧�
master:
- url: jdbc:mysql://172.17.0.1:9002/product-inventory-management-sdjc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ url: jdbc:mysql://172.17.0.1:9002/product-inventory-management-sdtx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
- password: sdjc@123456..
+ password: sdtx@123456..
# 浠庡簱鏁版嵁婧�
slave:
# 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴
@@ -142,14 +147,13 @@
restart:
# 鐑儴缃插紑鍏�
enabled: false
- # redis 閰嶇疆
data:
mongodb:
uri: mongodb://114.132.189.42:9028/chat_memory_db
# redis 閰嶇疆
redis:
# 鍦板潃
- # host: 127.0.0.1
+ # host: 127.0.0.1
host: 172.17.0.1
# 绔彛锛岄粯璁や负6379
port: 6379
@@ -171,7 +175,6 @@
max-active: 8
# #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
max-wait: -1ms
-
# Quartz瀹氭椂浠诲姟閰嶇疆锛堟柊澧為儴鍒嗭級
quartz:
job-store-type: jdbc # 浣跨敤鏁版嵁搴撳瓨鍌�
@@ -197,6 +200,7 @@
threadPriority: 5
makeThreadsDaemons: true
updateCheck: false # 鍏抽棴鐗堟湰妫�鏌�
+
# token閰嶇疆
token:
# 浠ょ墝鑷畾涔夋爣璇�
@@ -256,13 +260,16 @@
# 鏂囦欢涓婁紶閰嶇疆
file:
- temp-dir: /javaWork/product-inventory-management/file/temp/uploads # 涓存椂鐩綍
- upload-dir: /javaWork/product-inventory-management/file/prod/uploads # 姝e紡鐩綍
- path: /javaWork/product-inventory-management/file # 涓婁紶鐩綍
+ temp-dir: /javaWork/product-inventory-management/file/temp/uploads # 涓存椂鐩綍 鍚庢湡鍒犻櫎
+ upload-dir: /javaWork/product-inventory-management/file/prod/uploads # 姝e紡鐩綍 鍚庢湡鍒犻櫎
+ path: /javaWork/product-inventory-management/file/path/uploads # 涓婁紶鐩綍
urlPrefix: /common # 閾炬帴鍓嶇紑
- domain: http://36.138.236.153:9001 # 鍩熷悕鍓嶇紑
+ domain: http://127.0.0.1:7003 # 鍩熷悕鍓嶇紑
expired: 120 # 杩囨湡鏃堕棿(鍗曚綅:鍒嗛挓)
useLimit: 10 # 浣跨敤娆℃暟
compress: true # 鏄惁鍘嬬缉
needCompressSize: 10MB # 鍘嬬缉闃堝��
compressQuality: 0.5 # 鍘嬬缉璐ㄩ噺(0.0-1.0)
+knowledge:
+ one: D:\鏂扮枂澶х綏绱犱紒涓氫骇鍝佷綋绯昏鏄庢枃妗�.md
+
--
Gitblit v1.9.3