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

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

10_SpringBoot+Quartz

参考资料: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 #Quartz

11_SpringBoot+EasyExcel

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html EasyExcel官网:https://alibaba-easyexcel.github.io/index.html 迁移到新网站:https://www
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #EasyExcel

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

14_SpringBoot 跨域方案

三种解决方案,任一即可。 1. 跨域过滤器 跨域过滤器:实现 Filter 接口 重写 doFilter() 方法 12345678910111213141516171819202122import org.springframework.stereotype.Component;import javax.servlet.*;import javax.servlet.annotation.We
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #跨域

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
…2122232425262728293031…
CSDN GitHub Hexo Fluid
总访问量(PV) 次, 总访客数(UV) 人