xiaoyong931011
2021-07-02 abf323cc9a96877ead8aa5e5caacff8c75e4d2e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.xzx.gc.common.annotations;
 
import java.lang.annotation.*;
 
 
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SecurityParameter {
 
    /**
     * 入参是否解密,默认true解密
     */
    boolean inDecode() default true;
 
    /**
     * 出参是否加密,默认true加密
     */
    boolean outEncode() default true;
}