From a8894de3f1330ff41e648c9a84525de7ea4961e9 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 24 May 2022 10:51:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs | 2 +- IRaCIS.Core.Application/Service/QC/QCOperationService.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs index 46e62e4b1..19edbe1dd 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs @@ -121,7 +121,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO } - public class CloseQCChallengeDto + public class CloseQCChallengeInDto { public Guid qcChallengeId { get; set; } diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index c804c49d9..efa8c4682 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -148,11 +148,11 @@ namespace IRaCIS.Core.Application.Image.QA /// /// /// - [HttpPut("{trialId:guid}/{subjectVisitId:guid}/{qcChallengeId:guid}/{closeEnum}/{closeReason}")] + [HttpPut] [TypeFilter(typeof(TrialResourceFilter))] [UnitOfWork] //[Authorize(Policy = "ImageQCPolicy")] - public async Task CloseQCChallenge(CloseQCChallengeDto input) + public async Task CloseQCChallenge(CloseQCChallengeInDto input) { if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.IQC)