public string WXGetResellerOrderList(string JSon) { DIS_Order bll = new DIS_Order(); DIS_Order.ResultOrderList result = bll.WXGetResellerOrderList(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
public string GetResellerInfo(string JSon) { SYS_Users bll = new SYS_Users(); SYS_Users.ResultDisInfo result = bll.GetResellerInfo(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
public string GetUserIDByWXOpenid(string JSon) { SYS_Users bll = new SYS_Users(); SYS_Users.ResultUserID result = bll.GetUserIDByWXOpenid(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
public string WXRelieveUser(string JSon) { SYS_Users bll = new SYS_Users(); SYS_Users.ResultWXLogin result = bll.WXRelieveUser(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
public string GetNoticeList(string JSon) { SYS_Information bll = new SYS_Information(); SYS_Information.ResuletInfo result = bll.GetNoticeList(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
public string WXGetPrePaymentList(string JSon) { PAY_PrePayment bll = new PAY_PrePayment(); PAY_PrePayment.ResultPre result = bll.WXGetPrePaymentList(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
public string WXGetCompanyOrderDetail(string JSon) { DIS_Order bll = new DIS_Order(); DIS_Order.ResultOrderInfo result = bll.WXGetCompanyOrderDetail(AESHelper.Decrypt_php(JSon)); JavaScriptSerializer js = new JavaScriptSerializer(); return(AESHelper.Encrypt_php(js.Serialize(result))); }
protected void Page_Load(object sender, EventArgs e) { DataSet ds = new Hi.BLL.BD_DisAddr().GetModel(this.DisID.ToString()); coutn = (ds.Tables[0].Rows.Count + 1).ToString(); rptdelivery.DataSource = ds; rptdelivery.DataBind(); dis = new Hi.BLL.BD_Distributor().GetModel(this.DisID); if (dis != null) { Principal = dis.Principal; Phone = dis.Phone; ID = dis.ID.ToString(); } string phone = new Hi.BLL.SYS_Users().GetModel(this.UserID).Phone; phones = AESHelper.Encrypt_php(phone); userphone = phone.Substring(0, 3) + "*****" + phone.Substring(phone.Length - 4); if (!string.IsNullOrEmpty(Request["type"]) && Request["type"].ToString() == "add") { Add_Addre(); } }
/// <summary> /// 手机号码加密 /// </summary> /// <param name="phone">手机号码</param> public void AESPhone(string phone) { if (phone != "") { Regex reg = new Regex("^0?1[0-9]{10}$"); if (reg.IsMatch(phone)) { string phones = AESHelper.Encrypt_php(phone); Response.Write(phones); Response.End(); } else { Response.Write("手机号码格式不正确!"); Response.End(); } } else { Response.Write(""); Response.End(); } }
public string GetDisOrderList(string JSon) { DIS_Order.WXOrderList result = new DIS_Order().GetDisOrderList(AESHelper.Decrypt_php(JSon)); return(AESHelper.Encrypt_php(new JavaScriptSerializer().Serialize(result))); }