/// <summary>
        ///  通过授权token获取对应的成员Id等信息
        /// </summary>
        /// <returns></returns>
        private static ResultMo <MemberIdentity> GetIndentityId()
        {
            var sysInfo = MemberShiper.AppAuthorize;

            if (string.IsNullOrEmpty(sysInfo.Token))
            {
                return(new ResultMo <MemberIdentity>(ResultTypes.UnAuthorize, "用户未登录!"));
            }

            var tokenRes = PortalService.GetTokenDetail(sysInfo.AppSource, sysInfo.Token);

            if (!tokenRes.IsSuccess())
            {
                return(tokenRes.ConvertToResultOnly <MemberIdentity>());
            }

            var identity = new MemberIdentity
            {
                AuthenticationType = tokenRes.data.authType,
                Id = tokenRes.data.id
            };

            return(new ResultMo <MemberIdentity>(identity));
        }