فهرست منبع

fix: 修改移动支付测试地址

zhengjie 1 سال پیش
والد
کامیت
5f9fd915de
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      Helper/InvokeCenterFactory.cs
  2. 1 1
      Helper/InvokeHelper.cs
  3. 1 1
      Helper/InvokeRestCenter.cs

+ 1 - 1
Helper/InvokeCenterFactory.cs

@@ -12,7 +12,7 @@ namespace PTMedicalInsurance.Helper
         private static string mode = ""; // dll,ocx,rest
 
         /// <summary>
-        /// 通过配置加载调用模式(默认为dll)
+        /// 通过配置加载调用模式(默认为rest)
         /// </summary>
         private static void init()
         {

+ 1 - 1
Helper/InvokeHelper.cs

@@ -308,7 +308,7 @@ namespace PTMedicalInsurance.Helper
                 EncryptHelper encrypt = new EncryptHelper();
                 string data = JsonHelper.setMPCenterInpar(funNO, joInput);
                 // 移动支付地址
-                Global.curEvt.URL = Global.inf.centerURL + funNO;
+                Global.curEvt.URL = "http://10.123.185.12:8080/" + funNO;
                 joRtn = invokeCenterService(data);
 
                 Global.writeLog(funNO + "【密文出参】:\r\n" + joRtn.ToString());

+ 1 - 1
Helper/InvokeRestCenter.cs

@@ -208,7 +208,7 @@ namespace PTMedicalInsurance.Helper
 
         public int Init(ref string pErrMsg)
         {
-            throw new NotImplementedException();
+            return 0;
         }
 
         public int UploadFile(string inputData, ref string outputData, ref string pErrMsg)