- 博客(19)
- 收藏
- 关注
原创 WebMvcConfigurer拦截swagger3
这里查看具体指向的连接地址。在拦截器中配置对应路径。例如swagger3public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new JWTInterceptor()) //拦截的路径 .addPathPatterns("/**") //排除接口 ..
2022-04-15 22:49:36
1127
原创 mysql重置密码
使用原来mysql命令报错set password for root@localhost = password(‘123’);会报格式错误。新版本mysql重置密码需改为:alter user ‘root’@‘localhost’ identified by ‘123’;
2022-03-17 16:09:23
601
原创 Could not transfer artifact org.projectlombok:lombok:pom:1.18.16
安装lombok失败,之前使用的是阿里源,改为spring官方地址成功
2022-03-02 15:43:08
2580
原创 tooljet plugins插件引入失败
1.作者npm run build脚本对每个插件包没有一次npm i npm install 所以必须依次安装
2022-02-18 15:33:02
377
1
原创 openlayers使用proj4自定义坐标投影
1.安装引入proj4import proj4 from “proj4”;2.引入ol模块import { get as getProjection, transformExtent } from "ol/proj";import { register } from "ol/proj/proj4";3.去http://epsg.io找坐标投影找到之后代码如下 proj4.defs( "EPSG:4526", "+proj=tmerc +lat_0=0 +
2021-09-16 11:13:51
2161
原创 UnhandledPromiseRejectionWarning: Error: Command failed: wmic process where (ParentProcessId=4388) g
node 使用nodemon 报错 UnhandledPromiseRejectionWarning: Error: Command failed: wmic process where (ParentProcessId=4388) get ProcessId 2> nulat checkExecSyncError (child_process.js:760:11)at execSync (child_process.js:833:15)at kill (C:\Users\Glasssix-S
2021-08-31 18:10:22
874
原创 centos8 安装docker
因为升级了centos8 yum安装的时候可能不能使用 替代方法建议使用dnf执行命令例如sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo建议使用sudo dnf --add-repo https://download.docker.com/linux/centos/docker-ce.repo...
2021-08-26 16:57:54
132
原创 navicate连接mysql 报错1130
宝塔面板安装Mysql8.0的时候,服务器3306端口未启动。安装mysql5.7时,navicate报错1130,这个时候是root权限问题。Sql代码 GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;示例: Sql代码 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT
2021-08-08 18:57:52
310
原创 vue 实现标签页信息提醒
<template> <div> 流媒体服务器首页 <div><button @click="changeTitle">按钮</button></div> <p>{{ title }}</p> </div></template><script>export default { data() {
2021-07-16 00:06:13
419
原创 nginx+rtmp实现推拉流
1.安装nginx+rtmp模块,添加的时候应该是在nginx解压缩包里,例如nginx1.19里面,addmodule,添加好了之后,config然后make。2.配置nginx配置文件3.启动或者检查文件是在nginx/sbin里面,./nginx -t(检查),./nginx -s reload (重启配置文件)...
2021-06-06 09:06:58
278
原创 ReferenceError: path is not defined
ReferenceError: path is not defined原因在于未导入path
2020-12-03 16:05:51
8139
4
原创 centos No packages in any requested group available to install or update
yum groupinstall “Office Suite and Productivity” --setopt=group_package_types=mandatory,default,optional
2020-04-11 16:08:47
1023
1
原创 vue使用心得
1.router-link传参query传参:<router-link :to="{path:'/Life',query:{url:'http://39.108.94.12/1.mp4'}}"> 接收数据:this.$route.query.url
2019-05-01 19:34:07
357
原创 vue init webpack 下载依赖卡住不动解决方法
有时候下载依赖的时候网速不行,这时候我们选择手动下载依赖生成完项目之后,再cd进入文件夹,然后再cnpm安装即可。
2019-05-01 14:42:12
4694
3
原创 阿里云学生机使用nginx搭建点播服务器
1.首先需要搭建Nginx服务器 参考链接:https://www.cnblogs.com/boonya/p/7910967.html要注意的是 ngxin模块已经有了mp4的模块,所以如果用mp4来做点播系统,./configure --prefix=/usr/local/nginx --add-module=…/nginx-rtmp-module --with-http_ssl_mod...
2019-04-30 17:51:43
527
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人