兵兵有你

人品好,气质差.丢了工作就回家...

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 11 下一页

2021年11月10日

摘要: 1.虚拟机安装了centos7以后,刚开始还是可以共享磁盘的,这样便于我复制文件,突然某次开始后,再打开共享盘/mnt/hgfs后里面没我的内容,空的。 vmware虚拟机共享文件夹为空解决方法:vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse 阅读全文
posted @ 2021-11-10 11:56 greatbing 阅读(95) 评论(0) 推荐(0)

2021年11月6日

摘要: 1.先下载JDK:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 2.建立安装目录 mkdir /usr/java 3.给下载的JDK拷到安装目录里 cp /mnt/hgfs/li 阅读全文
posted @ 2021-11-06 18:48 greatbing 阅读(59) 评论(0) 推荐(0)

2021年11月3日

摘要: 1.先定义拦截器的文件内容,如interceptor/BingInterCeptor public class BingInterCeptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServlet 阅读全文
posted @ 2021-11-03 21:53 greatbing 阅读(123) 评论(0) 推荐(0)

摘要: 1.首先引入包 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> < 阅读全文
posted @ 2021-11-03 08:55 greatbing 阅读(323) 评论(0) 推荐(0)

2021年10月31日

摘要: 1.先在application.properties里声明国际化文件夹位置 spring.thymeleaf.cache=false spring.messages.basename=i18n.login 2.定义文件类 package com.example.mvc01.config; impor 阅读全文
posted @ 2021-10-31 16:22 greatbing 阅读(104) 评论(0) 推荐(0)

2021年10月18日

摘要: 有时要为列头增加更多的描述,需要添加tooltips,文档中对Table-column Attributes描述为 render-header 列标题 Label 区域渲染使用的 Function Function(h, { column, $index }) 那么需要在代码中作如果操作 <el-t 阅读全文
posted @ 2021-10-18 16:06 greatbing 阅读(491) 评论(0) 推荐(0)

2021年10月14日

摘要: 1.首页在启动文件里开启定时任务注解 @EnableScheduling 2.编写好定时任务类 import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotati 阅读全文
posted @ 2021-10-14 09:41 greatbing 阅读(59) 评论(0) 推荐(0)

2021年9月27日

摘要: 时间格式转换 增加注解 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 1.在同一DTO中某list里是一个对象,不用新建文件定义子DTO的方法 @ApiModelProperty(value="配置列表") priva 阅读全文
posted @ 2021-09-27 12:00 greatbing 阅读(66) 评论(0) 推荐(0)

2021年9月17日

摘要: 1.先新建一个maven项目pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.2</version 阅读全文
posted @ 2021-09-17 17:31 greatbing 阅读(157) 评论(0) 推荐(0)

2021年9月16日

摘要: 1. spring boot 2.3中如何禁用spring security //环境 spring boot 2.3, 依赖spring security版本是5.5.1,增加配置文件 @Configuration public class SecurityConfig extends WebSe 阅读全文
posted @ 2021-09-16 10:21 greatbing 阅读(200) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 11 下一页