update:简化验证

This commit is contained in:
2021-03-03 16:53:55 +08:00
parent 8214973184
commit 5234d3358b
7 changed files with 27 additions and 18 deletions

View File

@@ -8,11 +8,8 @@ namespace QRCodeService.Infrastructure.Middlewares
{
public class CheckSignAttribute:Attribute
{
public Type ModelType { get; set; }
public CheckSignAttribute(Type type)
public CheckSignAttribute()
{
ModelType = type;
}
}
}