From eb844e3260657b6bb9de03c1e5feca50bdf8190d Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期三, 17 十一月 2021 13:50:58 +0800
Subject: [PATCH] fix 修复 OssFactory 在程序启动未调用api 没有初始化 导致无法订阅配置更改问题

---
 ruoyi-job/src/main/java/com/ruoyi/job/config/properties/XxlJobProperties.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ruoyi-job/src/main/java/com/ruoyi/job/config/properties/XxlJobProperties.java b/ruoyi-job/src/main/java/com/ruoyi/job/config/properties/XxlJobProperties.java
index d7b8dbe..f2c755a 100644
--- a/ruoyi-job/src/main/java/com/ruoyi/job/config/properties/XxlJobProperties.java
+++ b/ruoyi-job/src/main/java/com/ruoyi/job/config/properties/XxlJobProperties.java
@@ -13,6 +13,8 @@
 @ConfigurationProperties(prefix = "xxl.job")
 public class XxlJobProperties {
 
+    private Boolean enabled;
+
     private String adminAddresses;
 
     private String accessToken;

--
Gitblit v1.9.3