Explorar o código

Merge branch 'feature/snapshot' into test

qinchaoyue hai 3 meses
pai
achega
7ea68a71cf

+ 0 - 2
src/Hotline.Application.Contracts/Validators/Snapshot/IndustryValidator.cs

@@ -12,7 +12,5 @@ public class IndustryValidator : AbstractValidator<AddIndustryDto>
     public IndustryValidator()
     {
         RuleFor(m => m.Name).NotEmpty().WithMessage("行业名称不能为空");
-        RuleFor(m => m.CitizenReadPackAmount).NotEqual(0).WithMessage("市民红包不能为空");
-        RuleFor(m => m.GuiderReadPackAmount).NotEqual(0).WithMessage("网格员红包不能为空");
     }
 }