/// <summary>
        /// 解析
        /// </summary>
        /// <param name="jwtStr"></param>
        /// <returns></returns>
        public static TokenModelJwt SerializeJwt(string jwtStr)
        {
            TokenModelJwt tm = new TokenModelJwt();

            try
            {
                var jwtHandler            = new JwtSecurityTokenHandler();
                JwtSecurityToken jwtToken = jwtHandler.ReadJwtToken(jwtStr);
                object           role;
                object           name;
                object           Id;
                jwtToken.Payload.TryGetValue(JwtClaimTypes.Id, out Id);
                jwtToken.Payload.TryGetValue(JwtClaimTypes.Role, out role);
                jwtToken.Payload.TryGetValue(JwtClaimTypes.Name, out name);
                tm.Uid  = Id.ToInt();
                tm.Name = name.ObjToString();
                tm.Role = role != null?role.ObjToString() : "";
            }
            catch (Exception) { }
            return(tm);
        }