From 5b603e79b0cae8c071bc67a8ec2920e694ea0d9c Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 11 六月 2024 22:13:25 +0800
Subject: [PATCH] 修改了增加,修改用户代码

---
 ruoyi-admin/src/main/resources/application.yml |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 5242ff5..f2fd417 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -9,7 +9,7 @@
   # 瀹炰緥婕旂ず寮�鍏�
   demoEnabled: true
   # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛�
-  profile: D:/ruoyi/uploadPath
+  profile: C:/ruoyi/uploadPath
   # 鑾峰彇ip鍦板潃寮�鍏�
   addressEnabled: false
   # 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉
@@ -19,6 +19,14 @@
 server:
   # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
   port: 8080
+  ssl: #ssl閰嶇疆
+    # resources鏍圭洰褰曠殑鈥濊瘉涔︽簮鏂囦欢.pfx鈥�
+    key-store: classpath:www.bendudu.com.pfx
+    # 鈥�.pfx鈥濊瘉涔﹀搴旀牸寮忥紝鈥�.jks"璇佷功瀵瑰簲鈥淩SA鈥�
+    key-store-type: PKCS12
+    key-store-password: tc6h7mav
+    #key-password: 绉侀挜瀵嗙爜
+
   servlet:
     # 搴旂敤鐨勮闂矾寰�
     context-path: /
@@ -49,6 +57,10 @@
 
 # Spring閰嶇疆
 spring:
+  #es閰嶇疆
+  elasticsearch:
+    host: 47.93.189.255
+    port: 8087
   # 璧勬簮淇℃伅
   messages:
     # 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
@@ -59,9 +71,9 @@
   servlet:
      multipart:
        # 鍗曚釜鏂囦欢澶у皬
-       max-file-size:  10MB
+       max-file-size:  1000MB
        # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
-       max-request-size:  20MB
+       max-request-size:  200000MB
   # 鏈嶅姟妯″潡
   devtools:
     restart:
@@ -70,13 +82,14 @@
   # redis 閰嶇疆
   redis:
     # 鍦板潃
-    host: 192.168.138.100
+    host: localhost
+#    host: 192.168.88.68
     # 绔彛锛岄粯璁や负6379
     port: 6379
     # 鏁版嵁搴撶储寮�
     database: 0
-    # 瀵嗙爜
-    password: 123456
+#    # 瀵嗙爜
+#    password: 123456
     # 杩炴帴瓒呮椂鏃堕棿
     timeout: 10s
     lettuce:
@@ -97,7 +110,7 @@
     # 浠ょ墝瀵嗛挜
     secret: abcdefghijklmnopqrstuvwxyz
     # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
-    expireTime: 30
+    expireTime: 100
   
 # MyBatis閰嶇疆
 mybatis-plus:
@@ -123,7 +136,7 @@
   pathMapping: /dev-api
 
 # 闃叉XSS鏀诲嚮
-xss: 
+xss:
   # 杩囨护寮�鍏�
   enabled: true
   # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛�

--
Gitblit v1.9.1