퀼 경로수정

This commit is contained in:
khj0414 2025-01-17 15:52:03 +09:00
parent 7a075c4d5d
commit 6a110d799e

View File

@ -21,11 +21,7 @@ import java.nio.file.Paths;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@ -39,7 +35,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@RestController
@RequestMapping("/api/img")
@RequestMapping("/api/quilleditor")
@RequiredArgsConstructor
public class ImageUploadController {
@ -47,9 +43,9 @@ public class ImageUploadController {
private String boardFilePath;
/**
* 에디터 이미지 업로
* @form-data file 업로드할 파일실제경로/파일이름
* @return
* quilleditor 안에서 삽입된 이미지를 서버에 저장하는 메소
* @form-data 서버에 저장된 이미지 경로와 이름
* @return
*/
@ParameterCheck
@PostMapping("/upload")