mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
enhancement: #I1Z96F liteflow系统级别增加切面的支持
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.yomahub.flowtest.aspect;
|
||||
|
||||
import com.yomahub.liteflow.aop.ICmpAroundAspect;
|
||||
import com.yomahub.liteflow.entity.data.Slot;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class ComponentAspect implements ICmpAroundAspect {
|
||||
@Override
|
||||
public void beforeProcess(Slot slot) {
|
||||
System.out.println("before process");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterProcess(Slot slot) {
|
||||
System.out.println("after process");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user