chenhaozhe
8 天以前 a0f8fee1feea1e1425f7061bbadda9a2f45f0ea1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
 
namespace WebAPI.Utility
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class PermissionAttribute : Attribute
    {
        public string HModName { get; }
        public string Operate { get; }
        public PermissionAttribute(string hModName,string operate)
        {
            HModName = hModName;
            Operate = operate;
        }
    }
}