Browse Source

定时任务白名单配置范围缩小

pull/483/MERGE
RuoYi 9 months ago
parent
commit
fd37e8b4a7
  1. 2
      ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java

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

@ -105,7 +105,7 @@ public class Constants
/**
* 定时任务白名单配置仅允许访问的包名如其他需要可以自行添加
*/
public static final String[] JOB_WHITELIST_STR = { "com.ruoyi" };
public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.quartz.task" };
/**
* 定时任务违规的字符

Loading…
Cancel
Save