![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 92
ALosterN1H
这个作者很懒,什么都没留下…
展开
-
Springboot文件上传与下载
文件下载public void download(HttpServletRequest request, HttpServletResponse response) throws IOException { try { request.setCharacterEncoding("UTF-8"); String filename = request.getParameter("name"); String mimeTyp原创 2020-06-18 23:44:17 · 83 阅读 · 0 评论 -
用redis实现消息队列
用redis实现消息队列直接上代码直接上代码@SpringBootTest@RunWith(SpringRunner.class)public class testT { volatile List<Object> whichs = new ArrayList<>(); //重要 @Qualifier("myredis") @Autowired private RedisTemplate redis; @Test原创 2020-06-11 15:31:53 · 81 阅读 · 0 评论