|
@@ -27,7 +27,6 @@ namespace PTMedicalInsurance.Helper
|
|
|
{
|
|
|
public class JsonHelper
|
|
|
{
|
|
|
-
|
|
|
public static string toJsonString(object obj,bool missingNull)
|
|
|
{
|
|
|
JsonSerializerSettings settings = new JsonSerializerSettings();
|
|
@@ -100,7 +99,6 @@ namespace PTMedicalInsurance.Helper
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public static string getDestProperty(JObject jo, string propertyName)
|
|
|
{
|
|
|
JProperty jp = jo.Property(propertyName);
|
|
@@ -243,9 +241,7 @@ namespace PTMedicalInsurance.Helper
|
|
|
{
|
|
|
return setMPCenterInpar(infno, joInput.ToString());
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
public static string setMPCenterInpar(string infno, string txtData)
|
|
|
{
|
|
|
EncryptHelper encrypt = new EncryptHelper();
|
|
@@ -322,6 +318,10 @@ namespace PTMedicalInsurance.Helper
|
|
|
{
|
|
|
Jo.opter = "F7A80649CD515C55";
|
|
|
}
|
|
|
+ if (Global.inf.interfaceDr == 52)//合肥市基线版-经开区门诊
|
|
|
+ {
|
|
|
+ Jo.opter = "F2D71DD91690A813";
|
|
|
+ }
|
|
|
|
|
|
//Jo.opter = Global.user.ID; ;
|
|
|
Jo.opter_name = Global.user.name; ;
|
|
@@ -415,6 +415,10 @@ namespace PTMedicalInsurance.Helper
|
|
|
{
|
|
|
Jo.opter = "F7A80649CD515C55";
|
|
|
}
|
|
|
+ if (Global.inf.interfaceDr == 52)//合肥市基线版-经开区门诊
|
|
|
+ {
|
|
|
+ Jo.opter = "F2D71DD91690A813";
|
|
|
+ }
|
|
|
|
|
|
//Jo.opter = Global.user.ID; ;
|
|
|
Jo.opter_name = Global.user.name; ;
|
|
@@ -430,7 +434,6 @@ namespace PTMedicalInsurance.Helper
|
|
|
//EncryptHelper encrypt = new EncryptHelper();
|
|
|
Jo.cainfo = infno; // encrypt.signWithSM2(Jo);
|
|
|
|
|
|
-
|
|
|
if (joInput != null)
|
|
|
{
|
|
|
Jo.Add("input", joInput);
|
|
@@ -497,6 +500,10 @@ namespace PTMedicalInsurance.Helper
|
|
|
{
|
|
|
Jo.opter = "F7A80649CD515C55";
|
|
|
}
|
|
|
+ if (Global.inf.interfaceDr == 52)//合肥市基线版-经开区门诊
|
|
|
+ {
|
|
|
+ Jo.opter = "F2D71DD91690A813";
|
|
|
+ }
|
|
|
|
|
|
Jo.opter_name = Global.user.name; ;
|
|
|
Jo.opter_type = Global.user.type;
|