public void log(){}函数是什么作用呢
private final static Logger logger = LoggerFactory.getLogger(HttpAspect.class); @Pointcut("execution(public * com.imooc.girl.controller.GirlController.*(..))") public void log(){ } public void doBefore(){ logger.info("111111111"); }