切点的定义
1.bean的定义格式(了解)
@Around("bean(userService)")
@Around("bean(userService)||bean(addressService)")
2.类定义切点的格式(了解)
@Around("within(cn.tedu.store.service.UserService)")
@Around("within(cn.tedu.store.service.*Service)")
3.方法定义(掌握)
@Around("execution(* cn.tedu.store..*Service.*(..))")
今日事今日毕