|
@@ -101,9 +101,12 @@ public class ParamCheckAspect {
|
|
|
|
|
|
private static final Logger logger = Logger.getLogger(ParamCheckAspect.class);
|
|
|
|
|
|
- //todo 暂时使用 方法扫描 以 O 结尾的方法 标识对外的接口 后期改为 @args
|
|
|
-// @Pointcut("@args(com.ys.atds.annotation.ParamCheck)")
|
|
|
- @Pointcut("execution(* com.ys.*.api.impl..*.*O(..))")
|
|
|
+ @Pointcut("@args(com.dragon.chaofeng.annotation.ParamCheck, ..) && execution(* com.dragon.chaofeng.web..*.*(..))")
|
|
|
+// @Pointcut("execution(* com.dragon.chaofeng.web..*.*(..))")
|
|
|
+// @Pointcut("@args(org.springframework.web.bind.annotation.RequestBody, ..)")
|
|
|
+// @Pointcut("@within(com.dragon.chaofeng.annotation.ParamCheck)")
|
|
|
+// @Pointcut("execution (* com.dragon.chaofeng.service..*.*(..))")
|
|
|
+// @Pointcut("@annotation(org.springframework.web.bind.annotation.RequestMapping)")
|
|
|
public void paramPointcut() {
|
|
|
}
|
|
|
|
|
@@ -288,4 +291,4 @@ public class ParamCheckAspect {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-```
|
|
|
+```
|