From be27328d81a3699c20c64ef919a2471eb715abc5 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 30 一月 2023 10:08:31 +0800 Subject: [PATCH] fix 修复 vue3模板 删除功能书写错误 --- ruoyi-modules/ruoyi-job/src/main/java/com/ruoyi/job/config/XxlJobConfig.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/ruoyi-modules/ruoyi-job/src/main/java/com/ruoyi/job/config/XxlJobConfig.java b/ruoyi-modules/ruoyi-job/src/main/java/com/ruoyi/job/config/XxlJobConfig.java index e051ff0..5caada8 100644 --- a/ruoyi-modules/ruoyi-job/src/main/java/com/ruoyi/job/config/XxlJobConfig.java +++ b/ruoyi-modules/ruoyi-job/src/main/java/com/ruoyi/job/config/XxlJobConfig.java @@ -21,10 +21,8 @@ @ConditionalOnProperty(prefix = "xxl.job", name = "enabled", havingValue = "true") public class XxlJobConfig { - private final XxlJobProperties xxlJobProperties; - @Bean - public XxlJobSpringExecutor xxlJobExecutor() { + public XxlJobSpringExecutor xxlJobExecutor(XxlJobProperties xxlJobProperties) { log.info(">>>>>>>>>>> xxl-job config init."); XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor(); xxlJobSpringExecutor.setAdminAddresses(xxlJobProperties.getAdminAddresses()); -- Gitblit v1.9.3