Browse Source

1.自定义注解逻辑修改

master
zhenghaoyu 8 months ago
parent
commit
a172be2c61
  1. 3
      blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java

3
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 org.springframework.scheduling.annotation.Async;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Async("asyncExecutor") @Async("asyncExecutor")
public @interface LogpmAsync { public @interface LogpmAsync {

Loading…
Cancel
Save