From 18dfabdae5055dfd8db7cc44847d49edb2f2336a Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 21 五月 2026 15:34:38 +0800
Subject: [PATCH] 修改了配置文件
---
ruoyi-admin/src/main/resources/application.yml | 27 +++++++++------------------
1 files changed, 9 insertions(+), 18 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 6d46c20..74eac1d 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -8,15 +8,6 @@
copyrightYear: 2021
# 瀹炰緥婕旂ず寮�鍏�
demoEnabled: true
- # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛�
- # 寮�鍙戠幆澧� window
- # profile: D:/lihusoft/OPO/WEB/Upload
- # 寮�鍙戠幆澧� linux
- # profile: /home/smartor/uploadFile
- # 鍖婚櫌鐜
- profile: D:/OPO/WEB/Upload
- # 褰掓。璺緞
- archived: D:/OPO/WEB/archived/
# 鑾峰彇ip鍦板潃寮�鍏�
addressEnabled: false
# 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉
@@ -24,8 +15,8 @@
# 寮�鍙戠幆澧冮厤缃�
server:
- # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
- port: 8080
+ # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负9095
+ port: 9095
servlet:
# 搴旂敤鐨勮闂矾寰�
context-path: /
@@ -53,7 +44,7 @@
# 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
basename: i18n/messages
profiles:
- active: srm
+ active: prod
# 鏂囦欢涓婁紶
servlet:
multipart:
@@ -99,18 +90,18 @@
logic-delete-value: 1 # 閫昏緫宸插垹闄ゅ��(榛樿涓� 1)
logic-not-delete-value: 0 # 閫昏緫鏈垹闄ゅ��(榛樿涓� 0)
# update-strategy: IGNORED #蹇界暐涓虹┖
-
+ call-setters-on-nulls: true
# PageHelper鍒嗛〉鎻掍欢
-pagehelper:
- helperDialect: mysql
- supportMethodsArguments: true
- params: count=countSql
+#pagehelper:
+# helperDialect: mysql
+# supportMethodsArguments: true
+# params: count=countSql
# Swagger閰嶇疆
swagger:
# 鏄惁寮�鍚痵wagger
- enabled: false
+ enabled: true
# 璇锋眰鍓嶇紑
pathMapping: /
--
Gitblit v1.9.3