yangys
2024-05-18 cc0bdfb33ef638dfafe3185c92c7076d815e1c9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.qianwen.core.api.crypto.annotation.encrypt;
 
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.qianwen.core.api.crypto.enums.CryptoType;
import org.springframework.core.annotation.AliasFor;
 
@Target({ElementType.METHOD, ElementType.TYPE})
@ApiEncrypt(CryptoType.AES)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ApiEncryptAes {
    @AliasFor(annotation = ApiEncrypt.class)
    String secretKey() default "";
}