使用idea 创建springboot 工程
Controllor注解
postman使用
yml 语法
https://blog.csdn.net/vincent_hbl/article/details/75411243
《2小时学会SpringBoot》
主要笔记:
https://blog.csdn.net/qq_22791091/article/details/78371092?locationNum=6&fps=1
参考:
https://segmentfault.com/a/1190000008398892
《Spring Boot进阶之Web进阶》
表单验证
aop编程
@Aspect:声明当前类是一个切面处理类
@Component:声明当前类是一个Bean,由Spring的IOC容器进行管理
@Pointcut:声明需要处理的切点
spring aop通知(advice)分成五类:
@Before:前置通知[Before advice]:在连接点前面执行,前置通知不会影响连接点的执行,除非此处抛出异常。
@AfterReturning:正常返回通知[After returning advice]:在连接点正常执行完成后执行,如果连接点抛出异常,则不会执行。
@AfterThrowing:异常返回通知[After throwing advice]:在连接点抛出异常后执行。
@After:返回通知[After (finally) advice]:在连接点执行完成后执行,不管是正常执行完成,还是抛出异常,都会执行返回通知中的内容。
@Around:环绕通知[Around advice]:环绕通知围绕在连接点前后,比如一个方法调用的前后。这是最强大的通知类型,能在方法调用前后自定义一些操作。环绕通知还需要负责决定是继续处理join point(调用ProceedingJoinPoint的proceed方法)还是中断执行
参考笔记
https://segmentfault.com/a/1190000008752288
https://www.jianshu.com/p/530d8a117be3
《SpringBoot开发常用技术整合》
参考笔记:
https://segmentfault.com/a/1190000014621634#articleHeader9
Spring boot整合 mybatis
http://blog.didispace.com/springbootmybatis/
Spring boot 整合 tk mybatis 插件
https://blog.csdn.net/u014695188/article/details/78241167
https://blog.csdn.net/shikaiwencn/article/details/52485883
https://www.cnblogs.com/binz/p/6564490.html
spring boot:run控制台输出中文乱码问题的解决
https://blog.csdn.net/qq_35835624/article/details/79361199
只加上configuration就可以