public string WeixinConPass(string openid, int comid) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).WeixinConPass(openid, comid); return(crmid.ToString()); } }
public string RegAccount(string card, string phone, string name, string password1, int comid, int channelid) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).RegAccount(card, phone, name, password1, comid, channelid); return(crmid.ToString()); } }
public string WeixinRegCard(string card, string openid, string password1, string name, string phone, int comid, int channelid) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).WeixinRegCard(card, openid, password1, name, phone, comid, channelid); return(crmid.ToString()); } }
public string UserUnlockPhone(string openid, int comid) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).UserUnlockPhone(openid, comid); return(crmid.ToString()); } }
public string weiUpMember(B2b_crm b2binfo) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).weiUpMember(b2binfo); return(crmid.ToString()); } }
public string RegCard(string card, string email, string password1, string name, string phone, int comid, string sex) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).RegCard(card, email, password1, name, phone, comid, sex); return(crmid.ToString()); } }
//初始会员密码 public string initialuser(B2b_crm b2binfo) { using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).initialuser(b2binfo); return(crmid.ToString()); } }
public string WeixinSetPass(string openid, int comid) { string password1 = "123456"; Random ra = new Random(); int num = ra.Next(100000, 1000000); int num2 = ra.Next(100000, 1000000); password1 = Convert.ToDouble(num.ToString() + num2.ToString()).ToString();//获取12位随机微信密码 using (var helper = new SqlHelper()) { var crmid = new InternalB2bCrm(helper).WeixinSetPass(openid, password1, comid); return(crmid.ToString()); } }