mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-12 04:06:37 +08:00
chore: 构建稳定版本
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace Yi.Framework.Rbac.Domain.Authorization
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
|
||||
public class PermissionAttribute : Attribute
|
||||
{
|
||||
internal string Code { get; set; }
|
||||
|
||||
public PermissionAttribute(string code)
|
||||
{
|
||||
Code = code;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user