package com.gkhy.safePlatform.commons.utils; import com.gkhy.safePlatform.commons.co.ContextCacheUser; import java.util.List; public class RequestContextHolder { /** * 保存上下文用户信息 **/ public static ThreadLocal contextUserLocal = new ThreadLocal<>(); /** 清空内存 防止内存泄露 **/ public static void remove() { // 用户 contextUserLocal.remove(); } }