|
|
@@ -119,6 +119,29 @@ namespace PTMedicalInsurance.Business
|
|
|
inf.cardURL = inf.centerURL;
|
|
|
|
|
|
inf.cainfo = "";
|
|
|
+
|
|
|
+ inf.centerURL2 = JsonHelper.getDestValue(joInpar, "CenterURL2");
|
|
|
+ byte[] b = Base64.Decode(inf.centerURL2);
|
|
|
+ string centerURL2 = System.Text.Encoding.UTF8.GetString(b);
|
|
|
+ JObject joCenterURL2 = JObject.Parse(centerURL2);
|
|
|
+
|
|
|
+ inf.ecURL = JsonHelper.getDestValue(joCenterURL2, "core.ecURL"); //电子凭证地址
|
|
|
+
|
|
|
+ inf.MobilePay.url = JsonHelper.getDestValue(joCenterURL2, "mobilePayURL");
|
|
|
+ inf.MobilePay.appid = JsonHelper.getDestValue(joCenterURL2, "mobilePayAppId");
|
|
|
+ inf.MobilePay.secretKey = JsonHelper.getDestValue(joCenterURL2, "mobilePaySecretKey");
|
|
|
+ inf.MobilePay.privateKey = JsonHelper.getDestValue(joCenterURL2, "mobilePayPrivateKey");
|
|
|
+ inf.MobilePay.publicKey = JsonHelper.getDestValue(joCenterURL2, "mobilePayPublicKey");
|
|
|
+
|
|
|
+ inf.PresCir.url = JsonHelper.getDestValue(joCenterURL2, "presCirURL");
|
|
|
+ inf.PresCir.appid = JsonHelper.getDestValue(joCenterURL2, "presCirAppId");
|
|
|
+ inf.PresCir.secretKey = JsonHelper.getDestValue(joCenterURL2, "presCirSecretKey");
|
|
|
+ inf.PresCir.privateKey = JsonHelper.getDestValue(joCenterURL2, "presCirPrivateKey");
|
|
|
+ inf.PresCir.publicKey = JsonHelper.getDestValue(joCenterURL2, "presCirPublicKey");
|
|
|
+
|
|
|
+ inf.OneCodePay.url = JsonHelper.getDestValue(joCenterURL2, "onecodepay.url ");
|
|
|
+ inf.OneCodePay.businessSystemNO = JsonHelper.getDestValue(joCenterURL2, "onecodepay.businessSystemNO");
|
|
|
+ inf.OneCodePay.businessSystemKey = JsonHelper.getDestValue(joCenterURL2, "onecodepay.businessSystemKey");
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -137,7 +160,7 @@ namespace PTMedicalInsurance.Business
|
|
|
inf.interfaceID = JsonHelper.getDestValue(joInpar, "interfaceNO");
|
|
|
//inf.oper = "3";
|
|
|
inf.centerURL = JsonHelper.getDestValue(joInpar, "centerURL");
|
|
|
- inf.ecURL = JsonHelper.getDestValue(joInpar, "centerURL2"); //http:/10.85.200.100:8000/localcfc/api/hsecfc/localQrCodeQuery
|
|
|
+ //inf.ecURL = JsonHelper.getDestValue(joInpar, "centerURL2"); //http:/10.85.200.100:8000/localcfc/api/hsecfc/localQrCodeQuery
|
|
|
inf.areaCode = JsonHelper.getDestValue(joInpar, "areaCode");
|
|
|
inf.dllName = JsonHelper.getDestValue(joInpar, "dLLName");
|
|
|
inf.hospitalNO = JsonHelper.getDestValue(joInpar, "hospitalNO");
|
|
|
@@ -196,6 +219,8 @@ namespace PTMedicalInsurance.Business
|
|
|
string centerURL2 = System.Text.Encoding.UTF8.GetString(b);
|
|
|
JObject joCenterURL2 = JObject.Parse(centerURL2);
|
|
|
|
|
|
+ inf.ecURL = JsonHelper.getDestValue(joCenterURL2, "core.ecURL"); //电子凭证地址
|
|
|
+
|
|
|
inf.MobilePay.url = JsonHelper.getDestValue(joCenterURL2, "mobilePayURL");
|
|
|
inf.MobilePay.appid = JsonHelper.getDestValue(joCenterURL2, "mobilePayAppId");
|
|
|
inf.MobilePay.secretKey = JsonHelper.getDestValue(joCenterURL2, "mobilePaySecretKey");
|
|
|
@@ -208,12 +233,12 @@ namespace PTMedicalInsurance.Business
|
|
|
inf.PresCir.privateKey = JsonHelper.getDestValue(joCenterURL2, "presCirPrivateKey");
|
|
|
inf.PresCir.publicKey = JsonHelper.getDestValue(joCenterURL2, "presCirPublicKey");
|
|
|
|
|
|
-
|
|
|
-
|
|
|
inf.OneCodePay.url = JsonHelper.getDestValue(joCenterURL2, "onecodepay.url ");
|
|
|
inf.OneCodePay.businessSystemNO = JsonHelper.getDestValue(joCenterURL2, "onecodepay.businessSystemNO");
|
|
|
inf.OneCodePay.businessSystemKey = JsonHelper.getDestValue(joCenterURL2, "onecodepay.businessSystemKey");
|
|
|
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/// <summary>
|