/// <summary>
 /// 中断请求的监视
 /// </summary>
 bool MonitorStopProcess(string guidkey)
 {
     if (MemoryCacheHelper.CacheIsHave(guidkey))
     {
         MemoryCacheHelper.RemoveCache(guidkey);
         return(true);
     }
     else
     {
         return(false);
     }
 }
        /// <summary>
        /// 移除用户权限缓存
        /// </summary>
        /// <param name="user"></param>
        public void RemoveUserAuthorityCache(AspNetUser user)
        {
            var key = $"{user.Id}_UserAuthorities";

            MemoryCacheHelper.RemoveCache(key);
        }