mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
Compare commits
2 Commits
9ab102f94b
...
7e4f36e33d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e4f36e33d | ||
|
|
c4578cca3e |
@@ -15,7 +15,7 @@ import com.ruoyi.common.core.utils.StringUtils;
|
|||||||
*/
|
*/
|
||||||
public class SecurityContextHolder
|
public class SecurityContextHolder
|
||||||
{
|
{
|
||||||
private static final TransmittableThreadLocal<Map<String, Object>> THREAD_LOCAL = new TransmittableThreadLocal<>();
|
private static final TransmittableThreadLocal<Map<String, Object>> THREAD_LOCAL = TransmittableThreadLocal.withInitial(ConcurrentHashMap::new);
|
||||||
|
|
||||||
public static void set(String key, Object value)
|
public static void set(String key, Object value)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user