mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-27 04:01:56 +08:00
Compare commits
2 Commits
master
...
2be7660372
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2be7660372 | ||
|
|
c4578cca3e |
@@ -15,7 +15,7 @@ import com.ruoyi.common.core.utils.StringUtils;
|
||||
*/
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user