From 5a88c770debe086dd82ab5ce8a4c957a3debdae7 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Fri, 24 Jan 2025 17:07:09 +0800
Subject: [PATCH] 煤矿缴费修改
---
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
index ca64f5d..e2600a9 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -4,11 +4,10 @@
/**
* 通用常量信息
- *
+ *
* @author ruoyi
*/
-public class Constants
-{
+public class Constants {
/**
* UTF-8 字符集
*/
@@ -63,7 +62,7 @@
* 登录失败
*/
public static final String LOGIN_FAIL = "Error";
-
+
/**
* 验证码有效期(分钟)
*/
@@ -84,6 +83,10 @@
*/
public static final String LOGIN_USER_KEY = "login_user_key";
+ /**
+ * 三方令牌前缀
+ */
+ public static final String INSTITUTION_USER_KEY = "three_institution_user_key";
/**
* 用户ID
*/
@@ -132,16 +135,18 @@
/**
* 自动识别json对象白名单配置(仅允许解析的包名,范围越小越安全)
*/
- public static final String[] JSON_WHITELIST_STR = { "org.springframework", "com.ruoyi" };
+ public static final String[] JSON_WHITELIST_STR = {"org.springframework", "com.ruoyi"};
/**
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
*/
- public static final String[] JOB_WHITELIST_STR = { "com.ruoyi" };
+ public static final String[] JOB_WHITELIST_STR = {"com.ruoyi"};
/**
* 定时任务违规的字符
*/
- 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" };
+ 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"};
+
+ public static final String DIS_XINJIANG_CODE = "65";
}
--
Gitblit v1.9.2