From a172be2c61dd6ed0511725051626c8a564098436 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Sat, 11 May 2024 12:09:39 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=87=AA=E5=AE=9A=E4=B9=89=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/springblade/common/annotations/LogpmAsync.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java b/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java index e70510bbf..7dd683365 100644 --- a/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java +++ b/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java @@ -2,9 +2,12 @@ package org.springblade.common.annotations; import org.springframework.scheduling.annotation.Async; +import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +@Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Async("asyncExecutor") public @interface LogpmAsync {