From fa8dce53106f77c22d52d2c1da251ea2c41ab9b8 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 06 三月 2024 11:56:26 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/resources/application.yml |   69 +++++++++++++++++++++-------------
 1 files changed, 42 insertions(+), 27 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 50e2dfe..f18d0ec 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -1,7 +1,7 @@
 # 椤圭洰鐩稿叧閰嶇疆
 ruoyi:
   # 鍚嶇О
-  name: RuoYi
+  name: lihu
   # 鐗堟湰
   version: 3.8.5
   # 鐗堟潈骞翠唤
@@ -18,7 +18,7 @@
 # 寮�鍙戠幆澧冮厤缃�
 server:
   # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
-  port: 8081
+  port: 8089
   servlet:
     # 搴旂敤鐨勮闂矾寰�
     context-path: /
@@ -35,6 +35,8 @@
 
 # 鏃ュ織閰嶇疆
 logging:
+  # 鏃ュ織璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/logs锛孡inux閰嶇疆 /home/ruoyi/logs,涓嶅~鍚岀骇鐩綍logs锛�
+  path: D:/ruoyi/ls/logs
   level:
     com.ruoyi: debug
     org.springframework: warn
@@ -53,15 +55,15 @@
   messages:
     # 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
     basename: i18n/messages
-  profiles: 
+  profiles:
     active: druid
   # 鏂囦欢涓婁紶
   servlet:
-     multipart:
-       # 鍗曚釜鏂囦欢澶у皬
-       max-file-size:  10MB
-       # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
-       max-request-size:  20MB
+    multipart:
+      # 鍗曚釜鏂囦欢澶у皬
+      max-file-size: 500MB
+      # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
+      max-request-size: 750MB
   # 鏈嶅姟妯″潡
   devtools:
     restart:
@@ -70,13 +72,17 @@
   # redis 閰嶇疆
   redis:
     # 鍦板潃
-    host: localhost
+#    host: 127.0.0.1
     # 绔彛锛岄粯璁や负6379
-    port: 6379
+#    port: 6379
+#    # 鍦板潃
+    host: 116.62.18.175
+#    # 绔彛锛岄粯璁や负6379
+    port: 6020
     # 鏁版嵁搴撶储寮�
     database: 0
     # 瀵嗙爜
-    password: 
+    password: Smartor
     # 杩炴帴瓒呮椂鏃堕棿
     timeout: 10s
     lettuce:
@@ -90,29 +96,38 @@
         # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
         max-wait: -1ms
 
+# minio鏂囦欢绠$悊杩炴帴
+minio:
+  endpoint: http://192.168.1.4
+  port: 9002
+  accessKey: lihu
+  secretKey: lihu@123
+  bucketName: lihu
+  secure: false
+
 # token閰嶇疆
 token:
-    # 浠ょ墝鑷畾涔夋爣璇�
-    header: Authorization
-    # 浠ょ墝瀵嗛挜
-    secret: abcdefghijklmnopqrstuvwxyz
-    # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
-    expireTime: 30
-  
+  # 浠ょ墝鑷畾涔夋爣璇�
+  header: Authorization
+  # 浠ょ墝瀵嗛挜
+  secret: abcdefghijklmnopqrstuvwxyz
+  # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
+  expireTime: 30
+
 # MyBatis閰嶇疆
 mybatis:
-    # 鎼滅储鎸囧畾鍖呭埆鍚�
-    typeAliasesPackage: com.ruoyi.**.domain,com.smartor.domain
-    # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
-    mapperLocations: classpath*:mapper/**/*Mapper.xml
-    # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
-    configLocation: classpath:mybatis/mybatis-config.xml
+  # 鎼滅储鎸囧畾鍖呭埆鍚�
+  typeAliasesPackage: com.ruoyi.**.domain,com.smartor.domain
+  # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
+  mapperLocations: classpath*:mapper/**/*Mapper.xml
+  # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
+  configLocation: classpath:mybatis/mybatis-config.xml
 
 # PageHelper鍒嗛〉鎻掍欢
-pagehelper: 
+pagehelper:
   helperDialect: mysql
   supportMethodsArguments: true
-  params: count=countSql 
+  params: count=countSql
 
 # Swagger閰嶇疆
 swagger:
@@ -122,7 +137,7 @@
   pathMapping: /dev-api
 
 # 闃叉XSS鏀诲嚮
-xss: 
+xss:
   # 杩囨护寮�鍏�
   enabled: true
   # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛�

--
Gitblit v1.9.3