示例#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
 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("版本号错误!");
 }