From 55f5271f893a25a7be671b24938e49976936a67b Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 29 九月 2025 18:30:00 +0800 Subject: [PATCH] 新增Orgid --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java | 51 +++++++++++++++++++++++++-------------------------- 1 files changed, 25 insertions(+), 26 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java index f03e493..a429707 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java @@ -19,7 +19,7 @@ /** * 鍙傛暟閰嶇疆 鏈嶅姟灞傚疄鐜� - * + * * @author ruoyi */ @Service @@ -42,7 +42,7 @@ /** * 鏌ヨ鍙傛暟閰嶇疆淇℃伅 - * + * * @param configId 鍙傛暟閰嶇疆ID * @return 鍙傛暟閰嶇疆淇℃伅 */ @@ -57,7 +57,7 @@ /** * 鏍规嵁閿悕鏌ヨ鍙傛暟閰嶇疆淇℃伅 - * + * * @param configKey 鍙傛暟key * @return 鍙傛暟閿�� */ @@ -81,6 +81,22 @@ } /** + * 鑾峰彇楠岃瘉鐮佸紑鍏� + * + * @return true寮�鍚紝false鍏抽棴 + */ + @Override + public boolean selectCaptchaEnabled() + { + String captchaEnabled = selectConfigByKey("sys.account.captchaEnabled"); + if (StringUtils.isEmpty(captchaEnabled)) + { + return true; + } + return Convert.toBool(captchaEnabled); + } + + /** * 鏍规嵁閿悕鏌ヨ鍙傛暟閰嶇疆淇℃伅 * * @param configKey 鍙傛暟key @@ -100,26 +116,9 @@ } return StringUtils.EMPTY; } - - /** - * 鑾峰彇楠岃瘉鐮佸紑鍏� - * - * @return true寮�鍚紝false鍏抽棴 - */ - @Override - public boolean selectCaptchaEnabled() - { - String captchaEnabled = selectConfigByKey("sys.account.captchaEnabled"); - if (StringUtils.isEmpty(captchaEnabled)) - { - return true; - } - return Convert.toBool(captchaEnabled); - } - /** * 鏌ヨ鍙傛暟閰嶇疆鍒楄〃 - * + * * @param config 鍙傛暟閰嶇疆淇℃伅 * @return 鍙傛暟閰嶇疆闆嗗悎 */ @@ -131,7 +130,7 @@ /** * 鏂板鍙傛暟閰嶇疆 - * + * * @param config 鍙傛暟閰嶇疆淇℃伅 * @return 缁撴灉 */ @@ -148,7 +147,7 @@ /** * 淇敼鍙傛暟閰嶇疆 - * + * * @param config 鍙傛暟閰嶇疆淇℃伅 * @return 缁撴灉 */ @@ -171,7 +170,7 @@ /** * 鎵归噺鍒犻櫎鍙傛暟淇℃伅 - * + * * @param configIds 闇�瑕佸垹闄ょ殑鍙傛暟ID */ @Override @@ -224,7 +223,7 @@ /** * 鏍¢獙鍙傛暟閿悕鏄惁鍞竴 - * + * * @param config 鍙傛暟閰嶇疆淇℃伅 * @return 缁撴灉 */ @@ -242,7 +241,7 @@ /** * 璁剧疆cache key - * + * * @param configKey 鍙傛暟閿� * @return 缂撳瓨閿甼ey */ -- Gitblit v1.9.3