From 83c60f98eb91fdaf50c5280904982602a1d134a8 Mon Sep 17 00:00:00 2001 From: khj0414 Date: Thu, 16 Jan 2025 15:18:38 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../localhost/controller/common/ImageUploadController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/io/company/localhost/controller/common/ImageUploadController.java b/src/main/java/io/company/localhost/controller/common/ImageUploadController.java index abc7789..2fa8a72 100644 --- a/src/main/java/io/company/localhost/controller/common/ImageUploadController.java +++ b/src/main/java/io/company/localhost/controller/common/ImageUploadController.java @@ -46,6 +46,11 @@ public class ImageUploadController { @Value("${filePath.boardfile}") private String boardFilePath; + /** + * 에디터 내 이미지 업로드 + * @form-data file 업로드할 파일실제경로/파일이름 + * @return + */ @ParameterCheck @PostMapping("/upload") public ApiResponse uploadImage(@RequestParam("file") MultipartFile file) throws IOException {