07 2022 档案

摘要:Arthas诊断工具在docker中使用 官方文档: https://arthas.aliyun.com/zh-cn/ 在实际工作中很多的服务都使用docker部署,如果直接在服务器中使用Arthas则找不到运行的服务而无法使用Arthas进行诊断,因此需要进入到容器内部才能使用Arthas进入诊断 阅读全文
posted @ 2022-07-21 13:56 肖恩雷 阅读(1706) 评论(0) 推荐(0)
摘要:直接返回资源文件下载 @GetMapping("/template") public ResponseEntity<org.springframework.core.io.Resource> getTemplate(HttpServletRequest request) { ResponseEnti 阅读全文
posted @ 2022-07-18 09:23 肖恩雷 阅读(996) 评论(0) 推荐(0)
摘要:引入依赖 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> </dependency> 编码实现 import cn.hutool.captcha.LineCaptcha; import cn. 阅读全文
posted @ 2022-07-14 09:58 肖恩雷 阅读(105) 评论(0) 推荐(0)