Kaynağa Gözat

ruoyi-job init

张同佳 6 ay önce
ebeveyn
işleme
578d4de886

+ 2 - 2
common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java

@@ -123,12 +123,12 @@ public class Constants
     /**
      * 自动识别json对象白名单配置(仅允许解析的包名,范围越小越安全)
      */
-    public static final String[] JSON_WHITELIST_STR = {"org.springframework", "com.ruoyi"};
+    public static final String[] JSON_WHITELIST_STR = {"org.springframework", "com.ruoyi", "com.hdkj.lt"};
 
     /**
      * 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
      */
-    public static final String[] JOB_WHITELIST_STR = {"com.ruoyi.job.task"};
+    public static final String[] JOB_WHITELIST_STR = {"com.hdkj.lt.job.task"};
 
     /**
      * 定时任务违规的字符