姜源の云笔记
  • 首页
  • 分类
  • 工具
  • 标签
  • 归档
  • 关于
  • Docsify
  •   

01_SpringBoot Demo

参考资料1:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. SpringBoot 入门1.1 简介Spring Boot是基于约定优于配置的,主要作用就是用来简化Spring应用的初始搭建以及开发过程! 1.
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #简述 #热部署

03_SpringBoot 异常+日志

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 全局异常处理SpringBoot 中的异常处理: 1.1 测试类123456789101112131415161718import com.demo.
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #日志 #异常

04_SpringBoot 过滤器+监听器

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html SpringBoot 中 Filter 过滤器、Listener 监听器用法相同。 1. 创建过滤器12345678910111213import ja
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #过滤器 #监听器

05_SpringBoot 拦截器

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 自定义拦截器类123456789101112131415161718192021222324252627import org.omg.Portable
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #拦截器

06_SpringBoot+MyBatis

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 导入依赖1234567891011121314<!-- 引入mybatis相关依赖,必须写版本号 --><dependency&g
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #MyBatis

07_SpringBoot+Redis

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 导入依赖1234<dependency> <groupId>org.springframework.boot</g
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #Redis

08_SpringBoot+FreeMarker

官方文档: http://freemarker.foofun.cn/toc.html 参考资料: https://www.cnblogs.com/itdragon/p/7750903.html FreeMarker 是一款 模板引擎: 即一种基于模板和要改变的数据, 并用来生成输出文本(HTML网页,电子邮件,配置文件,源代码等)的通用工具。 它不是面向最终用户的,而是一个Java类库,是一款
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #FreeMarker #模板引擎

09_SpringBoot+Thymeleaf

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. Thymeleaf 模板引擎Thymeleaf :Java 模板引擎,模板格式.html Freemarker、JSP差不多 文本:直接输出的的
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #模板引擎 #Thymeleaf

12_SpringBoot+Swagger

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. swagger 简介现在开发,很多采用前后端分离的模式,前端只负责调用接口,进行渲染,前端和后端的唯一联系,变成了API接口。因此,API文档变得越来
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #Swagger

13_SpringBoot+Swagger2

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 依赖很重要:因为区别于 springMVC 所以依赖的名字和版本要和 springMVC 区别开来 12345678910<dependenc
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #Swagger
…2425262728293031323334…
CSDN GitHub Hexo Fluid
总访问量(PV) 次, 总访客数(UV) 人