From 80b6cbfc9c861469146318d0b3dd5f8b8b525b8a Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期五, 01 十一月 2024 15:11:19 +0800 Subject: [PATCH] Revert "集成获取mdm分发通用数据格式接口集成" --- Source/BladeX-Tool/blade-starter-api-crypto/src/main/java/org/springblade/core/api/crypto/annotation/decrypt/ApiDecrypt.java | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/Source/BladeX-Tool/blade-starter-api-crypto/src/main/java/org/springblade/core/api/crypto/annotation/decrypt/ApiDecrypt.java b/Source/BladeX-Tool/blade-starter-api-crypto/src/main/java/org/springblade/core/api/crypto/annotation/decrypt/ApiDecrypt.java new file mode 100644 index 0000000..6defbd0 --- /dev/null +++ b/Source/BladeX-Tool/blade-starter-api-crypto/src/main/java/org/springblade/core/api/crypto/annotation/decrypt/ApiDecrypt.java @@ -0,0 +1,32 @@ +package org.springblade.core.api.crypto.annotation.decrypt; + +import org.springblade.core.api.crypto.enums.CryptoType; + +import java.lang.annotation.*; + +/** + * <p>瑙e瘑鍚湁{@link org.springframework.web.bind.annotation.RequestBody}娉ㄨВ鐨勫弬鏁拌姹傛暟鎹紝鍙敤浜庢暣涓帶鍒剁被鎴栬�呮煇涓帶鍒跺櫒涓�</p> + * + * @author licoy.cn, L.cm + */ +@Target({ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER}) +@Retention(RetentionPolicy.RUNTIME) +@Documented +@Inherited +public @interface ApiDecrypt { + + /** + * 瑙e瘑绫诲瀷 + * + * @return 绫诲瀷 + */ + CryptoType value(); + + /** + * 绉侀挜锛岀敤浜庢煇浜涢渶瑕佸崟鐙厤缃閽ョ殑鏂规硶锛屾病鏈夋椂璇诲彇鍏ㄥ眬閰嶇疆鐨勭閽� + * + * @return 绉侀挜 + */ + String secretKey() default ""; + +} -- Gitblit v1.9.3