1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package cn.iocoder.yudao.framework.encrypt.core.annotation;
|
| import java.lang.annotation.*;
|
| /**
| * HTTP API 加解密注解
| */
| @Documented
| @Target({ElementType.TYPE, ElementType.METHOD})
| @Retention(RetentionPolicy.RUNTIME)
| public @interface ApiEncrypt {
|
| /**
| * 是否对请求参数进行解密,默认 true
| */
| boolean request() default true;
|
| /**
| * 是否对响应结果进行加密,默认 true
| */
| boolean response() default true;
|
| }
|
|