From 173c0e384ffc63baa3f07b8adacedc5ff7ae0a10 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 17 Nov 2021 12:12:58 +0800
Subject: [PATCH] 优化导出数据操作
---
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
index 2cf6915..d97ba69 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
@@ -18,6 +18,16 @@
public static final String GBK = "GBK";
/**
+ * RMI 远程方法调用
+ */
+ public static final String LOOKUP_RMI = "rmi://";
+
+ /**
+ * LDAP 远程方法调用
+ */
+ public static final String LOOKUP_LDAP = "ldap://";
+
+ /**
* http请求
*/
public static final String HTTP = "http://";
@@ -87,10 +97,6 @@
*/
public static final long CAPTCHA_EXPIRATION = 2;
- /**
- * 令牌有效期(分钟)
- */
- public final static long TOKEN_EXPIRE = 30;
/**
* 参数管理 cache key
@@ -106,4 +112,10 @@
* 资源映射路径 前缀
*/
public static final String RESOURCE_PREFIX = "/profile";
+
+ /**
+ * 定时任务违规的字符
+ */
+ public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
+ "org.springframework.jndi" };
}
--
Gitblit v1.9.3