From 0c515e7b8e3c1c15c615cc831ef3fdb09ea5265e Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 10 十月 2025 10:25:17 +0800 Subject: [PATCH] 修改BUG --- ruoyi-admin/src/main/resources/application.yml | 37 ++++++++++++++++++++++++++++++++++--- 1 files changed, 34 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index e942c14..7c0275b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -74,7 +74,7 @@ # 鍥介檯鍖栬祫婧愭枃浠惰矾寰� basename: i18n/messages profiles: - active: hn + active: druid # 鏂囦欢涓婁紶 servlet: multipart: @@ -114,10 +114,32 @@ mapperLocations: classpath*:mapper/**/*Mapper.xml # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� configLocation: classpath:mybatis/mybatis-config.xml - configuration: - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + #configuration: + # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +# 娌冲崡SSO閰嶇疆锛堜附姘寸敤涓嶅埌锛� +sso: + enabled: true + 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鏀诲嚮 @@ -128,3 +150,12 @@ excludes: /system/notice # 鍖归厤閾炬帴 urlPatterns: /system/*,/monitor/*,/tool/* + +#涓嶉渶瑕佽繘琛岄暱鏈熶换鍔$殑鏈烘瀯 +noLongTask: + +#鐪佺珛鍚屽痉鍙栨暟鎹叕鍏辨帴鍙� +sltd_pub_path: "http://open-tdyy.cfuture.shop/kapi/gw-api/" + +#鐢ㄦ埛榛樿瀵嗙爜 +userPwd: 123456 -- Gitblit v1.9.3