เปลี่ยนเส้น call api สำหรับเก็บ logs
This commit is contained in:
parent
5887626de9
commit
80d3935047
1 changed files with 4 additions and 2 deletions
|
|
@ -71,7 +71,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Core
|
|||
{
|
||||
try
|
||||
{
|
||||
var apiPath = $"{_configuration["API"]}/org/dotnet/keycloak/{keycloakId}";
|
||||
//var apiPath = $"{_configuration["API"]}/org/dotnet/keycloak/{keycloakId}";
|
||||
var apiPath = $"{_configuration["API"]}/org/dotnet/user-logs/{keycloakId}";
|
||||
var apiKey = _configuration["API_KEY"] ?? "";
|
||||
|
||||
var apiResult = await GetExternalAPIAsync(apiPath, accessToken ?? "", apiKey);
|
||||
|
|
@ -253,7 +254,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Core
|
|||
{
|
||||
logType = logType,
|
||||
ip = context.Connection.RemoteIpAddress?.ToString(),
|
||||
rootId = pf == null ? null : pf.RootId,
|
||||
//rootId = pf == null ? null : pf.RootId,
|
||||
rootId = pf == null ? null : pf.RootDnaId,
|
||||
systemName = SystemName,
|
||||
startTimeStamp = startTime.ToString("o"),
|
||||
endTimeStamp = endTime.ToString("o"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue