会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_Lawrence
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
下一页
2020年4月15日
docx4j docx转html
摘要: 不好用,转完问题挺多,还找不到资料头疼。public static void docxToHtml(String fileUrl) throws Exception { String path = fileUrl.substring(0,fileUrl.indexOf(".")); File fil
阅读全文
posted @ 2020-04-15 10:05 _Lawrence
阅读(2076)
评论(0)
推荐(0)
2020年4月13日
解决vue element table行列不齐问题
摘要: 全局加入如下样式即可(app.vue): body .el-table th.gutter{ display: table-cell!important; }
阅读全文
posted @ 2020-04-13 16:32 _Lawrence
阅读(3089)
评论(0)
推荐(1)
2020年4月8日
vue axios get和post请求下载文件,后台springmvc完整代码
摘要: 注意请求时要设置responseType,不加会中文乱码,被这个坑困扰了大半天。。。 axios post请求: download(index,row){ var ts = this; axios.post(this.paths.baseURL+'file/downloadFile', {path:
阅读全文
posted @ 2020-04-08 16:38 _Lawrence
阅读(2359)
评论(0)
推荐(0)
2020年1月15日
vue组件之间值传递几种方法汇总
摘要: 1、父组件获取子组件的数据和方法 $refs 子组件: <template> <div class="header"> <h3>{{ zz }}</h3> </div></template><script>export default { name: 'cx', data () { return {
阅读全文
posted @ 2020-01-15 12:02 _Lawrence
阅读(1451)
评论(0)
推荐(0)
2020年1月2日
icepdf和pdfbox转pdf文档为图片
摘要: icepdf转pdf文档为图片 首先导入icepdf jar包或maven pdfPath为pdf文件路径、pdfimgpsth为图片保存的路径 public static void icePdfImg(String pdfPath,String pdfimgpsth,HttpServletRequ
阅读全文
posted @ 2020-01-02 17:50 _Lawrence
阅读(905)
评论(0)
推荐(0)
java文件上传、下载、图片预览
摘要: 多文件保存到本地: @ResponseBody @RequestMapping(value = "/uploadApp",produces = { "application/json;charset=UTF-8" },method= RequestMethod.POST) public String
阅读全文
posted @ 2020-01-02 17:44 _Lawrence
阅读(3616)
评论(0)
推荐(1)
2019年12月16日
springboot前后端分离跨域
摘要: 方法一: @Configuration public class CrossConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.add
阅读全文
posted @ 2019-12-16 14:37 _Lawrence
阅读(275)
评论(0)
推荐(0)
2019年11月25日
mysql创建存储过程及调用
摘要: 创建存储过程简单示例: DELIMITER //CREATE PROCEDURE ccgc()BEGINSELECT * FROM TEXT;SELECT * FROM s_user;END//DELIMITER ; //调用CALL ccgc() 创建带参数的存储过程: DELIMITER //C
阅读全文
posted @ 2019-11-25 15:38 _Lawrence
阅读(1260)
评论(0)
推荐(0)
2019年11月22日
springboot集成JdbcTemplate+druid
摘要: application.yml datasource: type: com.alibaba.druid.pool.DruidDataSource url: jdbc:mysql://localhost:3306/risk?useUnicode=true&characterEncoding=utf8&
阅读全文
posted @ 2019-11-22 15:37 _Lawrence
阅读(993)
评论(0)
推荐(0)
2019年11月21日
jdbctemplate打印sql
摘要: 在logback.xml里加入如下配置即可: <include resource="org/springframework/boot/logging/logback/base.xml"/><logger name="org.springframework.jdbc.core" additivity=
阅读全文
posted @ 2019-11-21 15:24 _Lawrence
阅读(3328)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
下一页
公告