/// <summary> /// 作者:赵锐 /// 日期:2009年8月15日 /// </summary> public void setMobile() { string ErrMsg = ""; string mnum = HttpUtility.HtmlDecode(Request.QueryString["mnum"].ToString()); string auth = HttpUtility.HtmlDecode(Request.QueryString["auth"].ToString()); string custid = HttpUtility.HtmlDecode(Request.QueryString["custid"].ToString()); string spid = HttpUtility.HtmlDecode(Request.QueryString["spid"].ToString()); string pwd = HttpUtility.HtmlDecode(Request.QueryString["pwd"].ToString()); string webpwd = CryptographyUtil.Encrypt(pwd); int i = FindPwd.SelState(custid, webpwd, out ErrMsg); if (!ValidateValidateCode()) { Response.Write("验证码错误,请重新输入"); return; } else { if (i != 0) { Response.Write("登录密码输入错误,请重新输入"); return; } else { k = PhoneBO.SelSendSMSMassage(custid, mnum, auth, out msg); if (k == 0) { int y = PhoneBO.PhoneSet(spid, custid, mnum, "2", "2", out msg); Response.Write(k); } else { Response.Write(msg); } } } }