随笔分类 -  Springboot

摘要:后台返回流,前端需要接收,否则图片不能下载。 例子 JAVA 将文件写入OutputStream public void download(String filePath, HttpServletResponse resp) throws IOException { File file = new 阅读全文
posted @ 2022-07-26 00:19 Hexrui 阅读(992) 评论(0) 推荐(0) 编辑
摘要:当前讲解 Springboot 2.4.13 1.1三个重要的注解 我们可以发现,在使用main()启动SpringBoot的时候,只有一个注解@SpringBootApplication 我们可以点击进去@SpringBootApplication注解中看看,可以发现有三个注解是比较重要的: @S 阅读全文
posted @ 2022-03-11 14:13 Hexrui 阅读(47) 评论(0) 推荐(0) 编辑

返回顶部
点击右上角即可分享
微信分享提示