修改框架
This commit is contained in:
@@ -3,7 +3,7 @@ package com.quoted.common.constant;
|
||||
/**
|
||||
* 缓存的key 常量
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class CacheConstants
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import io.jsonwebtoken.Claims;
|
||||
/**
|
||||
* 通用常量信息
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class Constants
|
||||
{
|
||||
@@ -158,18 +158,18 @@ public class Constants
|
||||
/**
|
||||
* 自动识别json对象白名单配置(仅允许解析的包名,范围越小越安全)
|
||||
*/
|
||||
public static final String[] JSON_WHITELIST_STR = { "com.ruoyi" };
|
||||
public static final String[] JSON_WHITELIST_STR = { "com.quoted" };
|
||||
|
||||
/**
|
||||
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
|
||||
*/
|
||||
public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.quartz.task" };
|
||||
public static final String[] JOB_WHITELIST_STR = { "com.quoted.quartz.task" };
|
||||
|
||||
/**
|
||||
* 定时任务违规的字符
|
||||
*/
|
||||
public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
|
||||
"org.springframework", "org.apache", "com.ruoyi.common.utils.file", "com.ruoyi.common.config", "com.ruoyi.generator" };
|
||||
"org.springframework", "org.apache", "com.quoted.common.utils.file", "com.quoted.common.config", "com.quoted.generator" };
|
||||
|
||||
/**
|
||||
* 部门相关常量
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.quoted.common.constant;
|
||||
/**
|
||||
* 代码生成通用常量
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class GenConstants
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.quoted.common.constant;
|
||||
/**
|
||||
* 返回状态码
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class HttpStatus
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.quoted.common.constant;
|
||||
/**
|
||||
* 任务调度通用常量
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class ScheduleConstants
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.quoted.common.constant;
|
||||
/**
|
||||
* 用户常量信息
|
||||
*
|
||||
* @author ruoyi
|
||||
* quoted
|
||||
*/
|
||||
public class UserConstants
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user