Procházet zdrojové kódy

修复印度工厂接口问题。

Wang Jeff před 2 roky
rodič
revize
29a115cfd3

+ 1 - 1
FactoryTool_CShare/Business/V2Method.cs

@@ -34,7 +34,7 @@ namespace MOKA_Factory_Tools
 
         public static void SetGetMessageUrl(string url = "https://cn.uc.qhmoka.com/scbc-server/clientType/getMessage.do")
         {
-                url_getMessage = url;
+            url_getMessage = url;
         }
 
         public static RokuCustomer GetRokuInfo(string strRokuInfo)

+ 4 - 1
FactoryTool_CShare/Views/Main.cs

@@ -756,7 +756,9 @@ namespace MOKA_Factory_Tools
                         SaveJsonConfig("Mexican_IDM", functionSetting1.Mexican_IDM);
                     else
                         functionSetting1.Mexican_IDM = jObject["Mexican_IDM"].Value<bool>();
-                    V2Method.SetMexicanConfig(functionSetting1.Mexican_IDM);
+
+                    if (functionSetting1.Mexican_IDM )
+                        V2Method.SetGetMessageUrl("http://10.138.96.32:81/IDManage/v1/order/getMessage");
                 }
                 #endregion
 
@@ -905,6 +907,7 @@ namespace MOKA_Factory_Tools
                 {
                     functionSetting1.MIKeyUrl = "http://10.40.7.61:9006/api/SMESCustomer/GetXMCard";
                     functionSetting1.MIKeyReportUrl = "http://10.40.7.61:9006/api/SMESCustomer/UploadXMDataControl";
+                    V2Method.SetGetMessageUrl("ttp://10.40.7.93:81/IDManage/v1/order/getMessage ");
                 }
                 #endregion