src/main/java/com/ruoyi/common/constant/Constants.java
@@ -1,5 +1,6 @@ package com.ruoyi.common.constant; import java.util.Locale; import io.jsonwebtoken.Claims; /** @@ -18,6 +19,11 @@ * GBK 字符集 */ public static final String GBK = "GBK"; /** * 系统语言 */ public static final Locale DEFAULT_LOCALE = Locale.SIMPLIFIED_CHINESE; /** * www主域 @@ -157,7 +163,7 @@ /** * 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加) */ public static final String[] JOB_WHITELIST_STR = { "com.ruoyi" }; public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.framework.task" }; /** * 定时任务违规的字符