Поправил подключение к QDoc, убрал явное проставление домена пользователя
This commit is contained in:
parent
ab471a6165
commit
e1f7b4b42f
@ -44,7 +44,8 @@ namespace JSONParser
|
||||
{
|
||||
Type = (string)x["Type"],
|
||||
Sid = (string)x["Sid"],
|
||||
LoginName = (string)x["LoginName"] == null ? null : $"POLY\\{(string)x["LoginName"]}",
|
||||
//LoginName = (string)x["LoginName"] == null ? null : $"POLY\\{(string)x["LoginName"]}",
|
||||
LoginName = (string)x["LoginName"] == null ? null : $"{(string)x["LoginName"]}",
|
||||
TypeAuthentication = (string)x["TypeAuthentication"],
|
||||
Status = (bool)x["Status"]
|
||||
}).ToList();
|
||||
|
@ -19,7 +19,7 @@ var odataClient = odata.Client;
|
||||
// .Filter("Department/BusinessUnit/Name eq 'Бакырчикское горнодобывающее предприятие ТОО' and Status eq 'Active'")
|
||||
// .FindEntriesAsync();
|
||||
|
||||
//var responsePath = @"C:\ОШС_logs\2024_11_20\response.json";
|
||||
//var responsePath = @"C:\ОШС_logs_backup\2025_01_22\2025_01_22_03_03_08_response.json";
|
||||
//var resp = File.ReadAllText(responsePath);
|
||||
//var arr = JArray.Parse(resp);
|
||||
|
||||
@ -111,7 +111,7 @@ using (StreamWriter logFileWriter = new($@"{logFolderPath}\{DateTime.Now.ToStrin
|
||||
}
|
||||
|
||||
//var serialized = JsonConvert.SerializeObject(notValid);
|
||||
Console.ReadLine();
|
||||
//Console.ReadLine();
|
||||
|
||||
static async Task<JArray> GetArrayFromService()
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ namespace JSONParser.QDocWrapper
|
||||
#endif
|
||||
|
||||
#if RELEASE
|
||||
private const string IntegrationServiceUrl = "https://qdoc.polymetal.ru/Integration/odata/";
|
||||
private const string IntegrationServiceUrl = "https://qdoc.solidcore-resources.com/Integration/odata/";
|
||||
private const string Login = "Administrator";
|
||||
private const string Password = "MQVuEw9avO";
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user