1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| package com.ruoyi.common.annotation;
|
| import java.lang.annotation.*;
|
| /**
| * 仅看我权限
| *
| */
| @Target(ElementType.METHOD)
| @Retention(RetentionPolicy.RUNTIME)
| @Documented
| public @interface PersonalScope {
|
| /**
| * 权限标识名称
| * @return
| */
| String permsName();
|
| /**
| * 对象名称
| * @return
| */
| Class objectName();
|
| /**
| * 参数名称
| * @return
| */
| String paramName();
|
| }
|
|