2 次代碼提交 8cbe9eecc7 ... 6bb49c5d97

作者 SHA1 備註 提交日期
  guqiang 6bb49c5d97 Merge branch 'feature/exam' into test 3 天之前
  guqiang 26957836f0 调整题库编辑接口 3 天之前
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/Hotline/Validators/Exams/Questions/UpdateQuestionTagDtoValidator.cs

+ 0 - 1
src/Hotline/Validators/Exams/Questions/UpdateQuestionTagDtoValidator.cs

@@ -13,7 +13,6 @@ namespace Hotline.Validators.Exams.Questions
         public UpdateQuestionTagDtoValidator()
         {
             RuleFor(m => m.TagId).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, typeof(ExamTag).GetDescription()));
-            RuleFor(m=>m.Id).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, x.GetType().GetDescription(nameof(ExamQuestionTag.Id))));
         }
     }
 }