mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
代码格式化
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api;
|
||||
|
||||
import xyz.playedu.api.domain.User;
|
||||
@@ -6,17 +10,18 @@ import java.util.LinkedHashMap;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
*
|
||||
* @create 2023/3/13 09:24
|
||||
*/
|
||||
public class FCtx {
|
||||
private static final java.lang.ThreadLocal<LinkedHashMap<String, Object>> THREAD_LOCAL = new java.lang.ThreadLocal<>();
|
||||
private static final java.lang.ThreadLocal<LinkedHashMap<String, Object>> THREAD_LOCAL =
|
||||
new java.lang.ThreadLocal<>();
|
||||
|
||||
private static final String KEY_USER_ID = "user_id";
|
||||
private static final String KEY_USER = "user";
|
||||
private static final String KEY_JWT_JTI = "jwt_jti";
|
||||
|
||||
public FCtx() {
|
||||
}
|
||||
public FCtx() {}
|
||||
|
||||
private static void put(String key, Object val) {
|
||||
LinkedHashMap<String, Object> hashMap = THREAD_LOCAL.get();
|
||||
|
||||
Reference in New Issue
Block a user