예제 #1
0
    public string GetCompanyOrderDetail(string JSon)
    {
        DIS_Order bll = new DIS_Order();

        DIS_Order.ResultOrderInfo result = bll.GetCompanyOrderDetail(AESHelper.Decrypt_android(JSon));
        JavaScriptSerializer      js     = new JavaScriptSerializer();

        return(AESHelper.Encrypt_android(js.Serialize(result)));
    }
예제 #2
0
파일: WXService.cs 프로젝트: kkwkk/ybyzt
    public string WXGetResellerOrderDetail(string JSon)
    {
        DIS_Order bll = new DIS_Order();

        DIS_Order.ResultOrderInfo result = bll.WXGetResellerOrderDetail(AESHelper.Decrypt_php(JSon));
        JavaScriptSerializer      js     = new JavaScriptSerializer();

        return(AESHelper.Encrypt_php(js.Serialize(result)));
    }
예제 #3
0
 public string GetCompanyOrderDetail(string JSon, string from)
 {
     if (from.ToLower() == "android" || from.ToLower() == "ios" || float.Parse(from) < 3)
     {
         DIS_Order bll = new DIS_Order();
         DIS_Order.ResultOrderInfo result = bll.GetCompanyOrderDetail(AESHelper.Decrypt_android(JSon));
         JavaScriptSerializer      js     = new JavaScriptSerializer();
         return(AESHelper.Encrypt_android(js.Serialize(result)));
     }
     else if (float.Parse(from) >= 3)
     {
         Dis_Order_Version3 bll = new Dis_Order_Version3();
         Dis_Order_Version3.ResultOrderInfo result = bll.GetCompanyOrderDetail(AESHelper.Decrypt_android(JSon));
         JavaScriptSerializer js = new JavaScriptSerializer();
         return(AESHelper.Encrypt_android(js.Serialize(result)));
     }
     return("版本号错误!");
 }