会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
2023年5月3日
根据PDF模板生成具体内容PDF,模板pdf需要设置字段域
摘要: package com.zudp.common.core.utils.pdf; import com.itextpdf.text.DocumentException; import com.itextpdf.text.Image; import com.itextpdf.text.Rectangle
阅读全文
posted @ 2023-05-03 10:09 LilLazy
阅读(88)
评论(0)
推荐(0)
2022年9月7日
Vue sortable实现排序功能
摘要: 1.vue代码 <template> <el-table @selection-change="handleSelectionChange" @sort-change="sortChange" v-loading="loading" id = "TableColumnID" element-load
阅读全文
posted @ 2022-09-07 09:44 LilLazy
阅读(882)
评论(0)
推荐(0)
Vue上传文件校验文件格式
摘要: <a-upload slot="extra" name="file" :multiple="true" :showUploadList="false" :beforeUpload="beforeUpload" :customRequest="uploadFile"> <a href="javascr
阅读全文
posted @ 2022-09-07 09:40 LilLazy
阅读(285)
评论(0)
推荐(0)
2022年6月27日
Mybatis 批量动态更新数据时出现异常:java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax
摘要: 如果使用 Mybatis 框架对 MySQL 数据库进行批量更新操作,需要在连接数据库的 URL 加上 allowMultiQueries=true,这样便可以执行批处理操作了。 jdbc:mysql://127.0.0.1:3306/testdb?useUnicode=true&character
阅读全文
posted @ 2022-06-27 15:53 LilLazy
阅读(305)
评论(0)
推荐(0)
2022年5月17日
Spring Cloud Alibaba Nacos+Gateway503错误,No servers available for service
摘要: 问题如下: 1.LoadBalancerCacheManager不可用,添加了下面的依赖还是不管用 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-loadbalancer</art
阅读全文
posted @ 2022-05-17 10:36 LilLazy
阅读(5067)
评论(1)
推荐(1)
2022年5月13日
relativePath标签解析
摘要: 继承父工程报错 在子模块添加一个relativePath标签 relativePath标签的作用 1)指定查找该父项目pom.xml的(相对)路径。默认顺序:relativePath > 本地仓库 > 远程仓库2)没有relativePath标签等同…/pom.xml, 即默认从当前pom文件的上一
阅读全文
posted @ 2022-05-13 19:42 LilLazy
阅读(421)
评论(0)
推荐(0)
IDEA出现Module ** must not contain source root **. The root already belongs to module **错误的解决方法
摘要: 出现这个问题的原因是, parant目录不能放src的code 找到你父project的Sourece Folders,看看是不是把子module的加载进来了。删掉就好。
阅读全文
posted @ 2022-05-13 19:35 LilLazy
阅读(1121)
评论(0)
推荐(0)
2022年5月12日
ifconfig命令找不到解决方法
摘要: 输入ifconfig命令提示 no command 解决办法: 1.查看命令路径是否存在于PATH环境变量 显示没有设置环境变量 2.安装ifconfig 如果是ifconfig未安装,也会报错,用whereis -b ifconfig查一下是否有可执行文件,没有的话按照以下说明安装ifconfig
阅读全文
posted @ 2022-05-12 19:06 LilLazy
阅读(4066)
评论(0)
推荐(0)
2022年5月11日
Spring Cloud Gateway 处理重复Header的方法(CORS policy: The ‘Access-Control-Allow-Origin‘ header has a……
摘要: 问题现状首先发现问题的原始点是浏览器进行 ajax 请求的时候出现跨域问题,经查看请求报文和错误确定是 Access-Control-Allow-Origin 出现了多个值(浏览器目前是不允许的),其原因是是在 gateway 中配置过了 Access-Control-Allow-Origin,后端
阅读全文
posted @ 2022-05-11 10:05 LilLazy
阅读(701)
评论(0)
推荐(0)
2022年5月10日
使用腾讯云发送短信
摘要: 1.先申请腾讯云短信服务:https://console.cloud.tencent.com/smsv2 2.短信服务代码 package com.atguigu.msmservice.controller; import com.atguigu.commonutils.R; import com.
阅读全文
posted @ 2022-05-10 10:20 LilLazy
阅读(452)
评论(0)
推荐(0)
下一页
公告