Uat_Study
he 2022-05-05 19:02:20 +08:00
parent bed0009e0e
commit febc651f61
2 changed files with 10 additions and 6 deletions

View File

@ -37,12 +37,16 @@ namespace IRaCIS.Core.API._PipelineExtensions.Serilog
} }
else else
{ {
var requestBodyPayload = await ReadRequestBody(context.Request);
using (LogContext.PushProperty("RequestBody", requestBodyPayload)) await _next.Invoke(context);
{
//await _next.Invoke(context); //var requestBodyPayload = await ReadRequestBody(context.Request);
}
//using (LogContext.PushProperty("RequestBody", requestBodyPayload))
//{
// //await _next.Invoke()
// await _next.Invoke(context);
//}
} }
//var request = context.Request; //var request = context.Request;

View File

@ -917,7 +917,7 @@ namespace IRaCIS.Core.Application.Image.QA
} }
// 移动不进去 // 移动不进去
await _trialRepository.AddListInspectionRecordAsync(datas); //await _trialRepository.AddListInspectionRecordAsync(datas);
await _repository.SaveChangesAsync(); await _repository.SaveChangesAsync();
return ResponseOutput.Ok(); return ResponseOutput.Ok();
} }