提交 6ba3a24f 编写于 作者: zhouweidong's avatar zhouweidong

区分本地与远程逻辑

上级 ab20b9ac
...@@ -553,14 +553,14 @@ public class DELogicAspect { ...@@ -553,14 +553,14 @@ public class DELogicAspect {
</#list> </#list>
<#comment>输出动态模块</#comment> <#comment>输出动态模块</#comment>
<#if hasDynamicModule> <#if hasDynamicModule>
@Around("execution(* ${dynamicModule} ") @Around("${dynamicModule}")
public Object executeRemoteLogic(ProceedingJoinPoint point) throws Throwable { public Object executeRemoteLogic(ProceedingJoinPoint point) throws Throwable {
return executeLogic(point, true); return executeLogic(point, true);
} }
</#if> </#if>
<#if hasLocalModule> <#if hasLocalModule>
@Around("execution(* ${localModule} ") @Around("${localModule}")
public Object executeLocalLogic(ProceedingJoinPoint point) throws Throwable { public Object executeLocalLogic(ProceedingJoinPoint point) throws Throwable {
return executeLogic(point, false); return executeLogic(point, false);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册