zhangjian
2023-07-07 a7c7965a518359a1c81bde0a8c451f2fc1cc25fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ruoyi.utils.forest;
 
 
import com.dtflys.forest.annotation.MethodLifeCycle;
import com.dtflys.forest.annotation.RequestAttributes;
 
import java.lang.annotation.*;
 
@MethodLifeCycle(UavAuthLifeCircle.class)
@Documented
/** 重点: @MethodLifeCycle注解指定该注解的生命周期类*/
@RequestAttributes
@Retention(RetentionPolicy.RUNTIME)
/** 指定该注解可用于类上或方法上 */
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface UavAuth {
    String token();
}