fix error route

This commit is contained in:
2020-01-17 12:40:22 +08:00
parent c4e852a0df
commit 608fb26aa2
9 changed files with 198 additions and 12 deletions
+6
View File
@@ -65,6 +65,12 @@ namespace YYApi.Helpers
Types = new[] { "user" };
}
//只检测一种用户类型的快捷方式
public CheckAuthAttribute(string type)
{
Types = new[] { type };
}
//设定特定类型的检测
public CheckAuthAttribute(string[] types)
{