Ejemplo n.º 1
0
    public void updateCustInfo()
    {
        string custid      = HttpUtility.HtmlDecode(Request.QueryString["custid"].ToString());
        string realname    = HttpUtility.HtmlDecode(Request.QueryString["realname"].ToString());
        string nickname    = HttpUtility.HtmlDecode(Request.QueryString["nickname"].ToString());
        string certificate = HttpUtility.HtmlDecode(Request.QueryString["certificate"].ToString());
        string certno      = HttpUtility.HtmlDecode(Request.QueryString["certno"].ToString());
        string sex         = HttpUtility.HtmlDecode(Request.QueryString["sex"].ToString());
        string birthday    = HttpUtility.HtmlDecode(Request.QueryString["birthday"].ToString());
        string Edu         = HttpUtility.HtmlDecode(Request.QueryString["Edu"].ToString());
        string Income      = HttpUtility.HtmlDecode(Request.QueryString["Income"].ToString());
        string pro         = HttpUtility.HtmlDecode(Request.QueryString["pro"].ToString());
        string area        = HttpUtility.HtmlDecode(Request.QueryString["area"].ToString());
        string spid        = HttpUtility.HtmlDecode(Request.QueryString["spid"].ToString());

        k = CustBasicInfo.UpdateCustInfoById(custid, pro, area, certificate, certno, realname, sex, nickname, DateTime.Now, birthday, Edu, Income, out Msg);
        if (k == 0)
        {
            CIP2BizRules.InsertCustInfoNotify(custid, "2", spid, "", "0", out Msg); // 通知积分商城
            CIP2BizRules.NotifyBesttoneAccountInfo(spid, custid, out Msg);          // 通知融合支付
        }
        Response.Write(k);
    }