From 33e1839c6214ad72cc5a76ae254ce0bb542e9263 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 10 十月 2026 09:31:11 +0800
Subject: [PATCH] 提交
---
ruoyi-admin/src/main/resources/application.yml | 73 ++++++++++++++++++++++++++++--------
1 files changed, 56 insertions(+), 17 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 14ac837..dfa12b4 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -15,7 +15,7 @@
# 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉
captchaType: math
-# 寮�鍙戠幆澧冮厤缃�
+# 寮�鍙戠幆澧冮厤缃�
server:
# 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
port: 8095
@@ -36,14 +36,14 @@
# 鏃ュ織閰嶇疆
logging:
# 鏃ュ織璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/logs锛孡inux閰嶇疆 /home/ruoyi/logs,涓嶅~鍚岀骇鐩綍logs锛�
- path: D:/ruoyi/ls/logs
+ path: D:/health/logs
# 瀛楃缂栫爜
charset:
console: UTF-8
file: UTF-8
# 鏃ュ織鏂囦欢閰嶇疆
file:
- name: ${logging.path}/ruoyi.log
+ name: ${logging.path}/sys-info.log
max-size: 100MB
max-history: 30
# 鏃ュ織绾у埆閰嶇疆
@@ -51,7 +51,7 @@
com.ruoyi: info
com.smartor: info
org.springframework: warn
- org.apache.ibatis: warn
+ org.apache.ibatis: debug
# 鎺у埗鍙拌緭鍑虹骇鍒�
root: info
# 鏃ュ織鏍煎紡閰嶇疆
@@ -69,12 +69,14 @@
# Spring閰嶇疆
spring:
+ datasource:
# 璧勬簮淇℃伅
messages:
# 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
basename: i18n/messages
profiles:
- active: druid
+ active: nhfy
+
# 鏂囦欢涓婁紶
servlet:
multipart:
@@ -114,21 +116,35 @@
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
configLocation: classpath:mybatis/mybatis-config.xml
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+ # 娉ㄥ唽鑷畾涔塗ypeHandler鍖�
+ typeHandlersPackage: com.smartor.typehandler
+ #configuration:
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-# PageHelper鍒嗛〉鎻掍欢
-pagehelper:
- helperDialect: mysql
- supportMethodsArguments: true
- params: count=countSql
-# Swagger閰嶇疆
-swagger:
- # 鏄惁寮�鍚痵wagger
+# 娌冲崡SSO閰嶇疆锛堜附姘寸敤涓嶅埌锛�
+sso:
enabled: true
- # 璇锋眰鍓嶇紑
- pathMapping: /dev-api
+ client_id: "mbglxt" # 淇¢�氶櫌鎻愪緵
+ client_secret: "mbglxt" # 淇¢�氶櫌鎻愪緵
+ # 鍐呯綉閰嶇疆
+ internal:
+ authorize_url: "http://10.10.13.112:37727/connect/authorize"
+ token_url: "http://10.10.13.112:37727/connect/token"
+ userinfo_url: "http://10.10.13.112:37727/connect/userinfo"
+ redirect_uri: "http://172.20.111.142:8096/login"
+ # 澶栫綉閰嶇疆
+ external:
+ authorize_url: "http://172.20.111.142:37727/connect/authorize"
+ token_url: "http://172.20.111.142:37727/connect/token"
+ userinfo_url: "http://172.20.111.142:37727/connect/userinfo"
+ redirect_uri: "http://172.20.111.142:8096/login"
+ state: "smartor" # 浣犱滑绯荤粺鏍囪瘑
+ scope: "openid%20roles%20profile"
+ #鍗曠偣鐧婚檰鐧藉悕鍗旾P閰嶇疆
+ whitelist:
+ ips:
+
# 闃叉XSS鏀诲嚮
xss:
@@ -138,3 +154,26 @@
excludes: /system/notice
# 鍖归厤閾炬帴
urlPatterns: /system/*,/monitor/*,/tool/*
+
+#涓嶉渶瑕佽繘琛岄暱鏈熶换鍔$殑鏈烘瀯
+noLongTask:
+
+#鐪佺珛鍚屽痉鍙栨暟鎹叕鍏辨帴鍙�
+sltd_pub_path: "http://open-tdyy.cfuture.shop/kapi/gw-api/"
+
+#鐢ㄦ埛榛樿瀵嗙爜
+userPwd: 123456
+
+#杩欎簺绌哄�奸兘鏄潵鏈潵鐨勫彉閲忥紝鍏堝崰浣�
+lwl_app_key:
+sms_accountName:
+sms_password:
+sms_url:
+sms_sourceAddr:
+sms_serviceCode:
+sms_appkey:
+sms_flag:
+
+#涓夋眹鐢佃瘽鍦板潃
+shurl: http://192.168.99.224:8098/
+shversion: 6.1.x
--
Gitblit v1.9.3