浏览代码

调整题库编辑接口

guqiang 3 天之前
父节点
当前提交
26957836f0
共有 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))));
         }
     }
 }