![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
SpringBoot
Y-S-P
脑子不好使,笔记来凑
展开
-
Swagger使用教程以及常用注解
第一步:引入依赖,swagger2和swagger-ui两个依赖。 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</art原创 2020-10-26 17:10:40 · 739 阅读 · 0 评论 -
freemarker的测试使用
什么是 Freemarker? FreeMarker 是一个用 Java 语言编写的模板引擎,它基于模板来生成文本输出。FreeMarker与 Web 容器无关,即在 Web 运行时,它并不知道 Servlet 或 HTTP。它不仅可以用作表现层的实现技术,而且还可以用于生成 XML,JSP 或 Java 等。 测试使用: ① 导入依赖 <dependency> <groupId>org.freemarker</groupId> <artifactId&g原创 2020-11-03 21:43:39 · 529 阅读 · 0 评论