对比新文件 |
| | |
| | | package org.springblade.core.api.crypto.annotation.encrypt; |
| | | |
| | | import org.springblade.core.api.crypto.enums.CryptoType; |
| | | import org.springframework.core.annotation.AliasFor; |
| | | |
| | | import java.lang.annotation.*; |
| | | |
| | | /** |
| | | * des 鍔犲瘑 |
| | | * |
| | | * @author licoy.cn, L.cm |
| | | * @see ApiEncrypt |
| | | */ |
| | | @Target({ElementType.METHOD, ElementType.TYPE}) |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | @Documented |
| | | @ApiEncrypt(CryptoType.DES) |
| | | public @interface ApiEncryptDes { |
| | | |
| | | /** |
| | | * Alias for {@link ApiEncrypt#secretKey()}. |
| | | * |
| | | * @return {String} |
| | | */ |
| | | @AliasFor(annotation = ApiEncrypt.class) |
| | | String secretKey() default ""; |
| | | |
| | | } |