摘要: 如题 阅读全文
posted @ 2021-02-01 14:00 Master_Sun 阅读(189) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_43589465/article/details/108923950 阅读全文
posted @ 2021-02-01 11:00 Master_Sun 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/powertoolsteam/p/redis.html https://blog.csdn.net/liqingtx/article/details/60330555 https://www.runoob.com/redis/redis-intro.h 阅读全文
posted @ 2021-01-29 22:24 Master_Sun 阅读(33) 评论(0) 推荐(0) 编辑
摘要: springboot 增删改查 @GetMapping @PostMapping @PutMapping @DeleteMapping @PathVariable 通过 @PathVariable 可以将URL中占位符参数{xxx}绑定到处理器类的方法形参中@PathVariable(“xxx“ @ 阅读全文
posted @ 2021-01-29 17:02 Master_Sun 阅读(429) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/79644891 1. 开启 @EnableScheduling @SpringBootApplication @EnableScheduling public class StudySpringBootApplication { publi 阅读全文
posted @ 2021-01-29 16:46 Master_Sun 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 平时我们修改代码需要重启,但是当工程大了,重启的时间就变长了,所以我们引入热部署这个概念。 https://www.jianshu.com/p/f658fed35786 阅读全文
posted @ 2021-01-29 16:45 Master_Sun 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 给controller层生成文档 1. pom.xml <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</ve 阅读全文
posted @ 2021-01-29 16:30 Master_Sun 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1. pom.xml <!--整合thymeleaf--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </depend 阅读全文
posted @ 2021-01-29 14:56 Master_Sun 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 1. pom.xml添加 <!--德鲁伊数据源--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.18</version> </dependency> 2. yml s 阅读全文
posted @ 2021-01-29 14:02 Master_Sun 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1. pom.xml添加 <!--mybatis起步依赖--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version> 阅读全文
posted @ 2021-01-29 13:34 Master_Sun 阅读(57) 评论(0) 推荐(0) 编辑