摘要: 1.xlsx依赖引入 npm install xlsx --save 2.downloadExcel模板下载(参数:file_Name、file_List) var XLSX = require('xlsx'); // const sheetName = '模板'; // const file_Na 阅读全文
posted @ 2022-10-24 18:05 借你耳朵说爱你 阅读(2112) 评论(0) 推荐(0)
摘要: URI uniform resource identifier,统一资源标识符,用来唯一的标识一个资源。Web上可用的每种资源如HTML文档、图像、视频片段、程序等都是一个来URI来定位的。URI一般由三部组成:①访问资源的命名机制。②存放资源的主机名。③资源自身的名称,由路径表示,着重强调于资源。 阅读全文
posted @ 2022-10-24 18:04 借你耳朵说爱你 阅读(225) 评论(0) 推荐(0)
摘要: 1.web前端打包 npm run build 2.把dist文件夹拷贝到resources的static目录里 3.web后端打包 mvn clean package -Dmaven.test.skip=true 4.web后端在服务器运行,不挂断运行命令,当账户退出或终端关闭时,程序仍然运行,并 阅读全文
posted @ 2022-08-22 08:40 借你耳朵说爱你 阅读(1354) 评论(0) 推荐(0)
摘要: 1.跨域访问外部接口? 使用Nginx代理(详细参见:https://www.cnblogs.com/ZhaoHS/p/16594619.html); 合并部署,统一从后端访问第三方接口(合并部署详见:https://www.cnblogs.com/ZhaoHS/p/16601558.html); 阅读全文
posted @ 2022-08-21 21:10 借你耳朵说爱你 阅读(868) 评论(0) 推荐(0)
摘要: 1.http 请求工具类 import com.alibaba.fastjson.JSONObject; import org.springframework.http.*; import org.springframework.http.converter.StringHttpMessageCon 阅读全文
posted @ 2022-08-21 21:07 借你耳朵说爱你 阅读(1610) 评论(0) 推荐(0)
摘要: http 请求工具类,需引用合适的jar import org.apache.http.HttpEntity; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.methods.C 阅读全文
posted @ 2022-08-21 21:07 借你耳朵说爱你 阅读(356) 评论(0) 推荐(0)
摘要: 1.Nginx 安装配置 详细参见菜鸟教程:https://www.runoob.com/linux/nginx-install-setup.html 2.nginx.conf内容 user nginx; worker_processes 1; #设置值和CPU核心数一致 error_log /us 阅读全文
posted @ 2022-08-21 21:07 借你耳朵说爱你 阅读(217) 评论(0) 推荐(0)
摘要: 一、前端VUE与Nginx打成docker镜像 1.资源需求 dist:VScode编译vue的资源 Dockerfile:打镜像需要的资源 nginx.conf:根据需求配置的Nginx配置文件 2.Dockerfile内容 FROM nginx RUN mkdir /app COPY ./dis 阅读全文
posted @ 2022-08-21 21:04 借你耳朵说爱你 阅读(381) 评论(0) 推荐(0)
摘要: 一、概述 配置三个配置文件,只需要打包的时候,根据不同环境打包不同的配置文件 application.yml 是启动服务时,Spring会自动加载的配置文件 application-dev.yml 代表的是开发环境时的配置文件 application-test.yml 代表的是生产环境的配置文件 二 阅读全文
posted @ 2022-08-21 21:04 借你耳朵说爱你 阅读(1908) 评论(0) 推荐(0)
摘要: 一、nodejs下载地址 官网:https://nodejs.org/zh-cn/ 其它版本:https://nodejs.org/zh-cn/download/releases/ 源码地址:https://github.com/nodejs二、vscode下载地址 官网:https://code. 阅读全文
posted @ 2022-08-21 21:04 借你耳朵说爱你 阅读(81) 评论(0) 推荐(0)