Skip to content

Commit

Permalink
定时任务白名单配置范围缩小
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed Mar 11, 2024
1 parent 8801ed9 commit afe296e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ruoyi/common/constant/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public class Constants
/**
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
*/
public static final String[] JOB_WHITELIST_STR = { "com.ruoyi" };
public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.framework.task" };

/**
* 定时任务违规的字符
Expand Down

0 comments on commit afe296e

Please sign in to comment.