yangys
2024-05-11 522dafb06be3374f27d087c370bcf06027e0f1cc
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 "";
}