| | |
| | | input.SessionId = Guid.NewGuid().ToString(); |
| | | input.EmployeeNo = "MITest"; |
| | | input.RequestTime = TimeZoneInfo.ConvertTimeToUtc(DateTime.Now).ToString("yyyy-MM-ddTHH:mm:ss.fffZ"); |
| | | var inputJson = input.ToDictionary(); |
| | | var inputJson = Masuit.Tools.ObjectExtensions.ToDictionary(input); |
| | | var configs = _configService.GetConfigsByCategory(CateGoryConst.SYS_MOMIPAddress); |
| | | var wmsBase = configs.FirstOrDefault(x => x.ConfigKey == SysConfigConst.MOMBaseIP)?.ConfigValue; |
| | | var ipAddress = configs.FirstOrDefault(x => x.ConfigKey == SysConfigConst.ProcessApply)?.ConfigValue; |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | Console.WriteLine(ex.Message); |
| | | //Console.WriteLine(ex.Message); |
| | | LogFactory.GetLog("工艺路线申请").Error(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("工艺路线申请").Error(true, ex.StackTrace); |
| | | } |