1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| 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 operate)
| {
| Operate = operate;
| }
| }
| }
|
|