IStation.Application.SqiAirp/03-certificate/1-mgr/Certificate_Controller.cs
@@ -80,7 +80,7 @@ var model = _service.GetByID(input.ID); if (model == null) { throw new ApiException(eResultCode.Alert, ErrorCodes.D001, $"ID:{input.ID} 数据不存在"); throw YOops.Oh(eResultCode.Alert, ErrorCodes.D001, $"ID:{input.ID} 数据不存在"); } var rhs = new Model.Certificate(model); input.Adapt(rhs); @@ -125,7 +125,7 @@ var bol = _service.DeleteByID(input.ID, out string Msg); if (!bol) { throw new ApiException(eResultCode.Alert, ErrorCodes.D999, Msg); throw YOops.Oh(eResultCode.Alert, ErrorCodes.D999, Msg); } return bol; }