師兄,@Pointcut注解下的log()方法是干嘛的?可以理解為標記的類方法的別名嗎?
@Pointcut("execution(public?*?com.fish.controller.GirlController.*(..))")
public?void?log()?{
}這個log()方法,我在里面寫了打印,也沒有執行
@Pointcut("execution(public?*?com.fish.controller.GirlController.*(..))")
public?void?log()?{
}這個log()方法,我在里面寫了打印,也沒有執行
2018-12-10
舉報
2018-12-12
沒啥? 就是定義了一個切點??