PortalPay.cs 933 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Newtonsoft.Json.Linq;
  2. using PTMedicalInsurance.Helper;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace PTMedicalInsurance.Business
  9. {
  10. class PortalPay
  11. {
  12. private HisIrisServices hIS = new HisIrisServices();
  13. private MIIrisServices mIS = new MIIrisServices();
  14. private CenterBusiness cBus = new CenterBusiness();
  15. private InvokeHelper invoker = new InvokeHelper();
  16. public PortalPay()
  17. {
  18. }
  19. public int PushMsg(JObject jo, out string outPar)
  20. {
  21. outPar = "";
  22. JObject joRtn = invoker.invokePortalPayService("AMP_HOS_001", jo);
  23. if (JsonHelper.parsePortalPayRtnValue(joRtn, out outPar) != 0)
  24. {
  25. return -1;
  26. }
  27. else
  28. {
  29. return 1;
  30. }
  31. }
  32. }
  33. }