xiaoyong931011
2021-07-14 cf148cae4937f807347e56d94b2dc96c9f258c59
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;
}