| | |
| | | "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", |
| | |
| | | { |
| | | (_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) |
| | | { |
| | |
| | | { |
| | | 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; |