diff --git a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoFaceService.cs b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoFaceService.cs index 12594198..f0536eb7 100644 --- a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoFaceService.cs +++ b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoFaceService.cs @@ -284,7 +284,7 @@ public class GainfoFaceService : IGainfoFaceService var userId = _currentUser.GetIntSubjectId(); - //await DetectFaceImageQualityAsync(request.Face, gainfo.Factory); + await DetectFaceImageQualityAsync(request.Face, gainfo.Factory); var taskType = face == null ? DeviceTaskEnumType.Add : DeviceTaskEnumType.Update; if (face == null) @@ -363,18 +363,18 @@ public class GainfoFaceService : IGainfoFaceService _logger.LogError(e, "上传face数据到sap失败:{message}", e.Message); } - try - { - await _hainingApi.UploadAsync(new HainingApiUploadRequest() - { - Code = gainfo.Code, - Base64 = request.Face - }); - } - catch (Exception e) - { - _logger.LogError(e, "上传face数据到老系统失败:{message}", e.Message); - } + // try + // { + // await _hainingApi.UploadAsync(new HainingApiUploadRequest() + // { + // Code = gainfo.Code, + // Base64 = request.Face + // }); + // } + // catch (Exception e) + // { + // _logger.LogError(e, "上传face数据到老系统失败:{message}", e.Message); + // } //生成任务 await _devicePermissionService.GenerateDeviceTasksAsync(gainfo.No, taskType, "照片上传生成");