#压缩成bz2文件,demo.txt.bz2
bzip2 demo.txt
#解压缩bz2文件,demo.txt
bunzip2 demo.txt.bz2
#压缩成gz文件,demo.txt.gz
gzip demo.txt
#解压缩bz2文件,dem...
阅读全文...
在实体类里定义一个数据库不存在的字段
1、在mybatis中定义不存在字段//引入
import org.springframework.data.annotation.Transient;
//使用
@Transient
private List<AwardGui...
阅读全文...
阅读全文...
Nginx的简单使用
1.Docker安装Nginx并启动#没有安装的情况下会自动安装,可以指定版本
docker run -p 80:80 --name nginx -d nginx:1.10
#将容器内的配置文件拷贝到当前目录
#别忘了后面的点
docker conta...
阅读全文...
阅读全文...
Thymeleaf的简单使用
1.引入jar包<!--模板引擎 thymeleaf -->
<dependency>
<groupId>org.springframework.boot</groupId>
<art...
阅读全文...
阅读全文...
Fegin的调用流程
//Fegin的调用流程
/** 1.构造请求数据,将对象转为JSON
* RequestTemplate template = buildTemplateFromArgs,create(argv);
* 2.发送请求进行执行《执行成功...
阅读全文...
阅读全文...


