This commit is contained in:
wangliwen 2022-06-01 11:53:33 +08:00
parent 22391d1fc6
commit 73e824fe7d
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public class ActivitiNoticeAspect {
MethodSignature signature = (MethodSignature) joinPoint.getSignature();
Method method = joinPoint.getTarget().getClass().getDeclaredMethod(signature.getName(), signature.getParameterTypes());
final ActivitiNoticeOperation activitiNoticeOperation = method.getAnnotation(ActivitiNoticeOperation.class);
logger.error("切面类型:" + activitiNoticeOperation.type());
switch (activitiNoticeOperation.type()) {
case 1: {
Arrays.asList(joinPoint.getArgs()).stream().findFirst().ifPresent(arg -> {