From 19321e1348baefa2a9f5211c42f8b797c0fcccd1 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期一, 27 十月 2025 18:11:56 +0800
Subject: [PATCH] 登录验证

---
 server/system_service/src/main/java/com/doumee/core/utils/Constants.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
index 32e6c6a..5f238ae 100644
--- a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
+++ b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
@@ -1,6 +1,7 @@
 package com.doumee.core.utils;
 
 
+import com.alibaba.fastjson.JSONObject;
 import com.fasterxml.jackson.annotation.JsonInclude;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import com.fasterxml.jackson.databind.ObjectMapper;
@@ -19,6 +20,7 @@
 
 public class Constants {
     public static final String HEADER_USER_TOKEN = "dm_user_token";
+    public static final String REDIS_USER_KEY = "user_token_list_";
     public static final String REDIS_TOKEN_KEY = "token_";
     public static final String REDIS_HK_TOKEN_KEY = "hk_token_";
     public static final String HK_TOKEN_VALIDITY = "HK_TOKEN_VALIDITY";
@@ -545,6 +547,11 @@
 
 
 
+
+    public static final String PROHIBIT_TIME = "PROHIBIT_TIME";
+    public static final String ERR_TIMES = "ERR_TIMES";
+    public static final String PROHIBIT_LOGIN_OPEN = "PROHIBIT_LOGIN_OPEN";
+    public static final String OPEN_JOINT_ACCOUNT = "OPEN_JOINT_ACCOUNT";
 
 
 
@@ -1481,8 +1488,12 @@
         public String getNoteinfo() {
             return noteinfo;
         }
+    }
 
 
-
+    public static String strToJson(String key,String val){
+        Map<String,Object> map = new HashMap<>();
+        map.put(key,val);
+        return JSONObject.toJSONString(map);
     }
 }

--
Gitblit v1.9.3