From 257507122150b6105a0b9fd9c022015493063c99 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期六, 15 三月 2025 09:56:56 +0800
Subject: [PATCH] 单点登录调整

---
 ruoyi-admin/src/main/resources/application.yml |   71 ++++++++++-------------------------
 1 files changed, 20 insertions(+), 51 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 6b298db..ca23fdf 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -7,7 +7,7 @@
   # 鐗堟潈骞翠唤
   copyrightYear: 2025
   # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛�
-  profile: D:/ruoyi/uploadPath
+  profile: /javaWork/lims-ruoyi/file/uploadPath
   # 鑾峰彇ip鍦板潃寮�鍏�
   addressEnabled: false
   # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
@@ -15,7 +15,7 @@
 
 # 寮�鍙戠幆澧冮厤缃�
 server:
-  # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
+  # 鏈嶅姟鍣ㄧ殑HTTP绔彛
   port: 8001
   servlet:
     # 搴旂敤鐨勮闂矾寰�
@@ -30,12 +30,6 @@
       max: 800
       # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�10
       min-spare: 100
-
-# 鏃ュ織閰嶇疆
-logging:
-  level:
-    com.ruoyi: debug
-    org.springframework: warn
 
 # 鐢ㄦ埛閰嶇疆
 user:
@@ -53,6 +47,10 @@
     basename: i18n/messages
   profiles:
     active: druid
+  # 鍏ㄥ眬鏃堕棿澶勭悊 LocalDateTime鏃堕棿搴忓垪鍙�
+  jackson:
+    date-format: yyyy-MM-dd HH:mm:ss
+    time-zone: GMT+8
   # 鏂囦欢涓婁紶
   servlet:
     multipart:
@@ -61,32 +59,10 @@
       # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
       max-request-size: 20MB
   # 鏈嶅姟妯″潡
-  devtools:
-    restart:
-      # 鐑儴缃插紑鍏�
-      enabled: true
-  # redis 閰嶇疆
-  redis:
-    # 鍦板潃
-    host: localhost
-    # 绔彛锛岄粯璁や负6379
-    port: 6379
-    # 鏁版嵁搴撶储寮�
-    database: 0
-    # 瀵嗙爜
-    password:
-    # 杩炴帴瓒呮椂鏃堕棿
-    timeout: 10s
-    lettuce:
-      pool:
-        # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺�
-        min-idle: 0
-        # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺�
-        max-idle: 8
-        # 杩炴帴姹犵殑鏈�澶ф暟鎹簱杩炴帴鏁�
-        max-active: 8
-        # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
-        max-wait: -1ms
+#  devtools:
+#    restart:
+#      # 鐑儴缃插紑鍏�
+#      enabled: false
 
 # token閰嶇疆
 token:
@@ -95,29 +71,13 @@
   # 浠ょ墝瀵嗛挜
   secret: abcdefghijklmnopqrstuvwxyz
   # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
-  expireTime: 30
-
-# MyBatis閰嶇疆
-mybatis:
-  # 鎼滅储鎸囧畾鍖呭埆鍚�
-  typeAliasesPackage: com.ruoyi.**.domain
-  # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
-  mapperLocations: classpath*:mapper/**/*Mapper.xml
-  # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
-  configLocation: classpath:mybatis/mybatis-config.xml
+  expireTime: 450
 
 # PageHelper鍒嗛〉鎻掍欢
 pagehelper:
   helperDialect: mysql
   supportMethodsArguments: true
   params: count=countSql
-
-# Swagger閰嶇疆
-swagger:
-  # 鏄惁寮�鍚痵wagger
-  enabled: true
-  # 璇锋眰鍓嶇紑
-  pathMapping: /dev-api
 
 # 闃叉XSS鏀诲嚮
 xss:
@@ -127,3 +87,12 @@
   excludes: /system/notice
   # 鍖归厤閾炬帴
   urlPatterns: /system/*,/monitor/*,/tool/*
+
+#闆嗗洟缁熶竴鐧诲綍
+sso:
+  url:
+  clientId:
+  clientSecret:
+  callbackUrl:
+
+

--
Gitblit v1.9.3