new
sjz
2025-11-15 61bf44648aec3a56a9ead9168306c933552d8ecf
new
已修改3个文件
22 ■■■■■ 文件已修改
WebApi/Gs.HostIIS/appsettings.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebApi/Gs.Sys/Services/FmController.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebApi/Gs.Toolbox/InterfaceUtil.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebApi/Gs.HostIIS/appsettings.json
@@ -10,8 +10,10 @@
  "ConnectionStrings": "Data Source=192.168.8.8;Initial Catalog=YS_MES;User ID=sa;Password =JianHui@2025",
  "TestErpUrl": "http://60.204.140.168:8080//kingdee/billWriteIn",
  "TestErpUrl2": "http://60.204.140.168:8080//kingdee/transferDirect",
  "TestErpUrl3": "http://60.204.140.168:8888//kingdee/updateShdStatus",
  "TestErpUrl4": "http://60.204.140.168:8888//kingdee/billReload",
  "TestErpUrl3": "http://60.204.140.168:8080//kingdee/updateShdStatus",
  "TestErpUrl4": "http://60.204.140.168:8080//kingdee/billReload",
  "TestErpUrl5": "http://60.204.140.168:8888//kingdee/billWriteIn",
  "TestErpUrl6": "http://60.204.140.168:8888//kingdee/transferDirect",
  "ProductionErpUrl": "http://192.168.1.149:8066/WebService1.asmx/mesToErpinfoFormal",
  "ServicesPath": "Services",
  "LogPath": "logs",
WebApi/Gs.Sys/Services/FmController.cs
@@ -273,6 +273,14 @@
                {
                    (_rtnInt, _rtnStr) = InterfaceUtil.HttpPostErp(_erpJson, keyUserGuid, keyGuid, keyNo, 4);
                }
                else if (idtype == "5")
                {
                    (_rtnInt, _rtnStr) = InterfaceUtil.HttpPostErp(_erpJson, keyUserGuid, keyGuid, keyNo, 5);
                }
                else if (idtype == "6")
                {
                    (_rtnInt, _rtnStr) = InterfaceUtil.HttpPostErp(_erpJson, keyUserGuid, keyGuid, keyNo, 6);
                }
            }
            catch (Exception ex)
            {
WebApi/Gs.Toolbox/InterfaceUtil.cs
@@ -39,6 +39,14 @@
        {
            url = AppSettingsHelper.getValueByKey("TestErpUrl4");
        }
        else if (urlType == 5)
        {
            url = AppSettingsHelper.getValueByKey("TestErpUrl5");
        }
        else if (urlType == 6)
        {
            url = AppSettingsHelper.getValueByKey("TestErpUrl6");
        }
        HttpWebRequest request = null;
        StreamWriter requestStream = null;
        WebResponse response = null;