摘要:
在第八章 springboot + mybatis + 多数据源代码的基础上,做两点修改 1、ShopDao 1 package com.xxx.firstboot.dao; 2 3 import org.springframework.beans.factory.annotation.Autowi 阅读全文
摘要:
关于AOP,通常我们会使用AspectJ注解来做,共有6中切面 前置:@Before 后置:@After 返回值:@AfterReturing 异常:@AfterThrowing 环绕:@Around:可以理解为以上四种的集合 引用(不常用) 比较难理解的两个部分: 连接点:JoinPoint、Pr 阅读全文