![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
Adore_an
做正确的事情就不会出错
展开
-
springboot + thymeleaf连接表达式,多参数
单参数 <a href="xx.html" th:href="@{/user/details(id=${user.id})}" th:text="${user.name}"></a> 结果:<a target="_blank" href="/user/order/details?id=1">userName</a> 多参数,用,隔开 &...原创 2019-04-20 22:41:30 · 1043 阅读 · 1 评论 -
配置QQ邮件客户端,后台处理发送邮件
1.首先获取QQ邮箱授权码 开启POP3服务 https://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256 2.在.yml文件中配置 mail: host: smtp.qq.com port: 465 username: xxxxxxx@qq.com ...原创 2019-05-28 11:29:50 · 2880 阅读 · 0 评论 -
后台doc转pdf文件
最近做一个投稿系统,投稿之后要将.doc文件转换成.pdf文件,经过查找资料,过程如下: 后台: @PostMapping(value = "/auTouSubmit") public String auTouSubmit(@ModelAttribute("manuScript") Manuscript manuscript, @RequestParam("file") Multip...原创 2019-05-28 11:46:04 · 622 阅读 · 1 评论