Beispiel #1
0
 /// <summary>
 /// 获取用户护照编号
 /// </summary>
 ///  <param name="userId">用户ID</param>
 /// <returns></returns>
 public string GetPassportNmb(string userId)
 {
     return(PassportDac.GetPassportNmb(userId));
 }
Beispiel #2
0
 /// <summary>
 /// 获取用户护照照片
 /// </summary>
 ///  <param name="userId">用户ID</param>
 /// <returns></returns>
 public Stream GetPassportPic(string userId)
 {
     return(PassportDac.GetPassportPic(userId));
 }
Beispiel #3
0
        /// <summary>
        /// 获取用户身份证
        /// </summary>
        ///  <param name="userId">用户ID</param>
        /// <returns></returns>
        //public string GetIdCardNumber(string userId)
        //{
        //    UserExtension ext = UserDac.GetUserExtension(userId, UserExtensionTypes.IDCard);
        //    string nmb = ext == null ? string.Empty : ext.Value;
        //    return nmb;
        //}

        /// <summary>
        /// 获取用户护照信息
        /// </summary>
        /// <param name="userId">用户ID</param>
        /// <returns></returns>
        public Passport GetPassport(string userId)
        {
            Passport ppt = PassportDac.GetPassport(userId);

            return(ppt);
        }