摘要: 原因 因为公司的项目一直用的都是分布式项目,而我只知道用,却不知道怎么去搭建,就整的很烦,逐渐暴躁。这两天一直都在找怎么搭建,因为自己的原因,所以一直搭建不成功,来来回回删了五六遍,也重建了很多次。 推荐 万幸我一直没有放弃,搜了两个文章,结合去搭建,终于成功。 dubbo项目搭建:https:// 阅读全文
posted @ 2021-11-16 19:19 学习就是进步! 阅读(827) 评论(1) 推荐(1)
摘要: 引入依赖 <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybat 阅读全文
posted @ 2021-09-10 19:13 学习就是进步! 阅读(617) 评论(0) 推荐(0)
摘要: 引入依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox- 阅读全文
posted @ 2021-09-10 18:22 学习就是进步! 阅读(54) 评论(0) 推荐(0)
摘要: 1、引入log4j2的依赖 <!-- 使用log4j2 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j2</artifactId> </depende 阅读全文
posted @ 2021-09-10 18:06 学习就是进步! 阅读(820) 评论(0) 推荐(0)
摘要: 1、首先要准备一个可以查询文件和分类的工具类 /** * 查询文件 * @param file 目标路径 * @param list 装查询的文件容器 * @throws IOException */ public static void queryAllFile(File file, List<M 阅读全文
posted @ 2021-09-02 17:01 学习就是进步! 阅读(443) 评论(0) 推荐(0)
摘要: logger.info(">>>>>>>>>>>>>>>>>>>>>>>>>读取txt开始"); File file = new File(filepath); try { if (file.isFile() && file.exists()) { InputStreamReader read = 阅读全文
posted @ 2021-09-02 12:35 学习就是进步! 阅读(466) 评论(0) 推荐(0)
摘要: 首先是这里build\webpack.base.conf.js output: { path: config.build.assetsRoot, filename: '[name].js', // publicPath: process.env.NODE_ENV 'production' // ? 阅读全文
posted @ 2020-03-22 00:10 学习就是进步! 阅读(553) 评论(0) 推荐(0)
摘要: axios获取后端代码传来的cookie vue配置中加入 axios.defaults.withCredentials = true; //让ajax携带cookie 但是在请求访问的时候又会报错 所以后端设置一个过滤器 @Component public class CorsFilter imp 阅读全文
posted @ 2020-03-20 22:12 学习就是进步! 阅读(8761) 评论(0) 推荐(0)
摘要: 1,终端运行 cnpm install --save xlsx file-saver 2,Script部分 import FileSaver from "file-saver"; import XLSX from "xlsx"; exportexcel() { //设置当前日期 let time = 阅读全文
posted @ 2020-03-18 22:29 学习就是进步! 阅读(301) 评论(0) 推荐(0)
摘要: 一,引入wangEditor npm install wangeditor --save 二、配置,自己看的文档配置的(文档地址:https://www.kancloud.cn/wangfupeng/wangeditor3/332599) <template> <div> <div id="edit 阅读全文
posted @ 2020-03-16 13:59 学习就是进步! 阅读(7078) 评论(0) 推荐(0)