![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
遇事不决Redis
这个作者很懒,什么都没留下…
展开
-
fastjson
1、添加JAR <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.46</version> </dependency> 2、在启动中注入bean即可 @SpringBootApplication // springboot的注入 public class SAApplica原创 2021-08-21 11:06:46 · 97 阅读 · 0 评论 -
yaml配置文件写法
Person.java package com.atguigu.domain; import lombok.Data; import lombok.ToString; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.Date; import java.util.List原创 2021-03-17 10:42:47 · 204 阅读 · 0 评论 -
@MartiVariable矩阵变量
1.config配置文件 @Configuration(proxyBeanMethods = false) public class WebConfig implements WebMvcConfigurer { public void configurePathMatch(PathMatchConfigurer configurer){ UrlPathHelper urlPathHelper = new UrlPathHelper(); urlPathHelpe原创 2021-02-19 14:11:13 · 143 阅读 · 0 评论