From d9d08181a94d727a4fe5933ac9efd1ff5c8a7c5a Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 16 七月 2025 13:49:13 +0800 Subject: [PATCH] 中间件修改内容: 1、当没农业综合站时即没相关配置项目内容为空时,启动时会产生bug; 2、整理优化代码。 --- pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaConfig.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaConfig.java b/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaConfig.java index 13b75a3..e4fa6c5 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaConfig.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaConfig.java @@ -63,7 +63,7 @@ @Bean(name = "captchaProducerMathOne") public DefaultKaptcha getKaptchaBeanMathOne() { DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); - Properties properties = commonConfig("com.dy.pipIrrGlobal.config.KaptchaMathOneTextCreator"); + Properties properties = commonConfig("com.dy.pipIrrApp.config.KaptchaMathOneTextCreator"); Config config = new Config(properties); defaultKaptcha.setConfig(config); return defaultKaptcha; @@ -76,7 +76,7 @@ @Bean(name = "captchaProducerMathTwo") public DefaultKaptcha getKaptchaBeanMathTwo() { DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); - Properties properties = commonConfig("com.dy.pipIrrGlobal.config.KaptchaMathTwoTextCreator"); + Properties properties = commonConfig("com.dy.pipIrrApp.config.KaptchaMathTwoTextCreator"); Config config = new Config(properties); defaultKaptcha.setConfig(config); return defaultKaptcha; -- Gitblit v1.8.0