public static TokenInfo GetTokenInfo()
        {
            var token = HttpContext.Current.Request.Headers["Token"];

            return(SerializeUtil.DeserializeToObject <TokenInfo>(JwtUtil.GetJwtDecode(token)));
        }
 /// <summary>
 /// 获取TokenInfo实体
 /// </summary>
 /// <param name="token"></param>
 /// <returns></returns>
 public static TokenInfo GetTokenInfo(string token)
 {
     return(SerializeUtil.DeserializeToObject <TokenInfo>(JwtUtil.GetJwtDecode(token)));
 }