public static RealNameAuth PersonRealNameAuth(string realName, string certNo, string mobile) { RealNameAuth userRealNameAuth = new RealNameAuth(); userRealNameAuth.RealName = realName; userRealNameAuth.CertNo = certNo; userRealNameAuth.Mobile = mobile; return(userRealNameAuth); }
public static RealNameAuth EnterpriseRealNameAuth(string realName, string certNo, string mobile, string enterpriseCertNo, string enterpriseRealName, string enterpriseCertType) { RealNameAuth userRealNameAuth = new RealNameAuth(); userRealNameAuth.RealName = realName; userRealNameAuth.CertNo = certNo; userRealNameAuth.Mobile = mobile; userRealNameAuth.EnterpriseCertNo = enterpriseCertNo; userRealNameAuth.EnterpriseRealName = enterpriseRealName; userRealNameAuth.enterpriseCertType = enterpriseCertType; return(userRealNameAuth); }