| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using Newtonsoft.Json.Linq;
- using PTMedicalInsurance.Common;
- using PTMedicalInsurance.Helper;
- using PTMedicalInsurance.Variables;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PTMedicalInsurance.Business
- {
- class CheckPassProcess : AbstractProcess
- {
- public override CallResult Process(JObject input)
- {
- string output = "";
- CardReader_HN CardRead = new CardReader_HN();
- #region【门诊正式结算前调用社保卡验密】
- if (Global.pat.mdtrtcertType == "03")
- {
- if (CardRead.VerifyPIN(1, out outParam) != 0)
- {
- return Exception($"校验社保卡密码失败{outParam}");
- }
- }
- else
- if (Global.pat.mdtrtcertType == "02") //身份证结算前必须传exp_content
- {
- //if (hBus.checkIDCardPwd(out outParam) != 0)
- //{
- // rtnResult = JsonHelper.setExceptionJson(-1, "身份证验密失败", outParam).ToString();
- // return rtnResult;
- //}
- //JObject jo = new JObject();
- //jo.Add("ecToken", outParam);
- ////joSettlement.Add("exp_content", jo.ToString().Replace(@"\r\n", ""));
- //joSettlement["exp_content"] = jo.ToString().Replace(@"\r\n", "");
- }
- else
- {
-
- }
- #endregion
- return Success();
- }
- }
- }
|