Exemple #1
0
    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)));
    }
Exemple #2
0
    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)));
    }
Exemple #3
0
    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)));
    }
Exemple #4
0
    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)));
    }
Exemple #5
0
    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)));
    }
Exemple #6
0
    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)));
    }
Exemple #7
0
    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)));
    }
Exemple #8
0
    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();
        }
    }
Exemple #9
0
 /// <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();
     }
 }
Exemple #10
0
 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)));
 }