using Newtonsoft.Json.Linq; using PTMedicalInsurance.Helper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PTMedicalInsurance.Business { class PortalPay { private HisIrisServices hIS = new HisIrisServices(); private MIIrisServices mIS = new MIIrisServices(); private CenterBusiness cBus = new CenterBusiness(); private InvokeHelper invoker = new InvokeHelper(); public PortalPay() { } public int PushMsg(JObject jo, out string outPar) { outPar = ""; JObject joRtn = invoker.invokePortalPayService("AMP_HOS_001", jo); if (JsonHelper.parsePortalPayRtnValue(joRtn, out outPar) != 0) { return -1; } else { return 1; } } } }