public ActionResult GetXZFCPlugWebService(FCWebServiceQueryForm query) { FCWebserviceBll bll = new FCWebserviceBll(); IDictionary <string, string> dicParam = Class2Map.ToMap2(FCWebServiceQuery.Map2This(query)); try { string pch = bll.GetDataFromFCWebservice(dicParam); string ret = bll.GetDataFromBDCByPCH(pch); return(Content(ret, "application/json")); } catch (Exception ex) { throw new Exception(ex.Message); } }
public ActionResult GetXZFCPlugWebServiceGetH(string ZID) { FCWebserviceBll bll = new FCWebserviceBll(); IDictionary <string, string> dicParam = new Dictionary <string, string>(); dicParam.Add("ExecuteCode", "0000"); dicParam.Add("ZID", ZID); try { string pch = bll.GetDataFromFCWebservice(dicParam); string ret = bll.GetDataFromBDCByPCH(pch); return(Content(ret, "application/json")); } catch (Exception ex) { throw new Exception(ex.Message); } }