¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.springblade.core.api.crypto.annotation.crypto; |
| | | |
| | | import org.springblade.core.api.crypto.annotation.decrypt.ApiDecrypt; |
| | | import org.springblade.core.api.crypto.annotation.encrypt.ApiEncrypt; |
| | | import org.springblade.core.api.crypto.enums.CryptoType; |
| | | |
| | | import java.lang.annotation.*; |
| | | |
| | | /** |
| | | * <p>AESå å¯è§£å¯å«æ{@link org.springframework.web.bind.annotation.RequestBody}注解çåæ°è¯·æ±æ°æ®</p> |
| | | * |
| | | * @author Chill |
| | | */ |
| | | @Target({ElementType.TYPE, ElementType.METHOD}) |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | @Documented |
| | | @Inherited |
| | | @ApiEncrypt(CryptoType.AES) |
| | | @ApiDecrypt(CryptoType.AES) |
| | | public @interface ApiCryptoAes { |
| | | |
| | | } |