SpringBoot定义切面@Aspect时候 排除部分类

// 定义切点Pointcut
@Pointcut("execution(* com.hencego.web_service.web..*.*(..))  && !execution(* com.hencego.web_service.web.TestController.*(..)) ")
public void excudeService() {
}
发布了200 篇原创文章 · 获赞 97 · 访问量 59万+

猜你喜欢

转载自blog.csdn.net/u010838785/article/details/102843634