| | |
| | | string response = ""; |
| | | try |
| | | { |
| | | |
| | | response = HttpManager.HttpPostAsync(url, "SC01").Result; |
| | | |
| | | |
| | | return response; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | { |
| | | return null; |
| | | } |
| | | } |
| | |
| | | public static string SyncLabMaster() |
| | | { |
| | | |
| | | string url = AppSettings.Configuration.GetSection("WMS").Value.Replace("","")+ "Sys_Job/SyncLabMaster"; |
| | | string url = AppSettings.Configuration.GetSection("WMS").Value.Replace("PDA", "Sys_Job") + "Sys_Job/SyncLabMaster"; |
| | | string response = ""; |
| | | try |
| | | { |
| | | |
| | | response = HttpManager.HttpPostAsync(url, "SC01").Result; |
| | | |
| | | |
| | | return response; |
| | | } |