摘要: #下载文件 @GetMapping("downloadImg") public ResponseEntity<byte[]> downloadImg(HttpServletRequest request) { String realPath = request.getServletContext() 阅读全文
posted @ 2023-03-06 15:52 Liku007 阅读(24) 评论(0) 推荐(0) 编辑
摘要: #上传文件的详解 创建控制层,上传文件: @Controller public class MyController { @PostMapping("/myUpload") public String upload(HttpServletRequest request) { String uploa 阅读全文
posted @ 2023-03-06 14:39 Liku007 阅读(12) 评论(0) 推荐(0) 编辑