姜永辉 1 год назад
Родитель
Сommit
b269849766
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      src/main/java/com/dk/common/infrastructure/aspect/ServiceAspect.java

+ 2 - 3
src/main/java/com/dk/common/infrastructure/aspect/ServiceAspect.java

@@ -54,11 +54,10 @@ public class ServiceAspect implements HandlerInterceptor {
      * @author : 张潇木
      * @author : 张潇木
      * @date : 2022-3-1 12:49
      * @date : 2022-3-1 12:49
      */
      */
-    @Pointcut("execution(* com.*.*.service..*.*(..)) || execution(* com.dk.*.service..*.*(..)) ||" +
+    @Pointcut("(execution(* com.*.*.service..*.*(..)) || execution(* com.dk.*.service..*.*(..)) ||" +
             "execution(* com.dk.*.infrastructure.strategy.ProductionContext.*(..)) ||" +
             "execution(* com.dk.*.infrastructure.strategy.ProductionContext.*(..)) ||" +
-            "execution(* com.dk.*.infrastructure.strategy.production.ProductionContext.*(..))" +
+            "execution(* com.dk.*.infrastructure.strategy.production.ProductionContext.*(..)))" +
             "&&!execution(* com.dk.*.service.wxapi.basic.WechatPayService.*(..))")
             "&&!execution(* com.dk.*.service.wxapi.basic.WechatPayService.*(..))")
-
     public void print() {
     public void print() {
     }
     }