会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
G三少
博客园
首页
新随笔
联系
订阅
管理
2024年3月6日
windows 查询占用端口进程并清理
摘要: 查找占用端口的进程号: netstat -ano|findstr 9000 根据进程号查找占用端口的进程信息(16240 为进程号): tasklist|findstr 16240 关闭占用端口的进程: 使用进程号(16240 为进程号): taskkill /f /pid 16240 2.使用进程
阅读全文
posted @ 2024-03-06 09:47 guohf
阅读(55)
评论(0)
推荐(0)
2021年7月29日
springboot + mybatis 查询结果为null字段不显示
摘要: @Primary@Bean(name = "sysSqlSessionFactory")public SqlSessionFactory setSqlSessionFactory(@Qualifier("sysDataSource") DataSource dataSource) throws Ex
阅读全文
posted @ 2021-07-29 15:45 guohf
阅读(753)
评论(0)
推荐(0)
2021年6月25日
springboot 文件上传限制(yml配置)
摘要: 一、文件上传大小配置 springboot 2.0以后 spirng: servlet: multipart: max-file-size: 100MB max-request-size: 100MB springboot 2.0以前 spring: http: multipart: max-fil
阅读全文
posted @ 2021-06-25 09:46 guohf
阅读(915)
评论(0)
推荐(1)
2021年6月11日
springboot缓存-Ehcache
摘要: 一、Maven <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>2.8.3</version></dependency> <dependency> <groupId>or
阅读全文
posted @ 2021-06-11 16:21 guohf
阅读(214)
评论(0)
推荐(0)
2021年5月28日
springboot+spring data jpa 多数据源配置
摘要: 1. maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency><dependency> <groupId>o
阅读全文
posted @ 2021-05-28 10:46 guohf
阅读(295)
评论(0)
推荐(1)
2021年5月25日
vue+element 上传图片控件
摘要: <template> <div> <el-upload action="#" :style="fileList.length 0?'margin:10px;':'margin-top: 10px;'" list-type="picture-card" :on-change="uploadChange
阅读全文
posted @ 2021-05-25 14:49 guohf
阅读(359)
评论(0)
推荐(0)
springboot下载文件
摘要: 1.后端:public void getExcelTemplate(HttpServletResponse response) throws UnsupportedEncodingException { //文件名最好不要用中文,会出现中文乱码 InputStream inputStream = n
阅读全文
posted @ 2021-05-25 14:32 guohf
阅读(407)
评论(0)
推荐(0)
easyPoi导入带图片的excel
摘要: 注意:导入的图片需为浮动图片 官方API:http://easypoi.mydoc.io 1.依赖 <dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-base</artifactId> <version>3.2.0</v
阅读全文
posted @ 2021-05-25 14:26 guohf
阅读(5020)
评论(0)
推荐(0)
2020年12月8日
内外网同时使用(宽带内网无线内网)
摘要: 1、查看路由表 route print 2、删除默认路由 route delete 0.0.0.0 route print 3、添加默认路由 将所有的网络转发到内网的默认网关 route add 0.0.0.0 mask 0.0.0.0 192.168.2.254 4.添加永久路由 route -p
阅读全文
posted @ 2020-12-08 10:08 guohf
阅读(408)
评论(0)
推荐(0)
2020年7月19日
mysql 8.0 安装
摘要: 1.下载Mysql 8.0,解压 地址:https://dev.mysql.com/downloads/mysql/ 2. 添加到path中: 3.修改my.ini文件 [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] # 设
阅读全文
posted @ 2020-07-19 15:47 guohf
阅读(123)
评论(0)
推荐(0)
下一页
公告