수정
This commit is contained in:
parent
d99799f140
commit
83c60f98eb
@ -46,6 +46,11 @@ public class ImageUploadController {
|
|||||||
@Value("${filePath.boardfile}")
|
@Value("${filePath.boardfile}")
|
||||||
private String boardFilePath;
|
private String boardFilePath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 에디터 내 이미지 업로드
|
||||||
|
* @form-data file 업로드할 파일실제경로/파일이름
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@ParameterCheck
|
@ParameterCheck
|
||||||
@PostMapping("/upload")
|
@PostMapping("/upload")
|
||||||
public ApiResponse<String> uploadImage(@RequestParam("file") MultipartFile file) throws IOException {
|
public ApiResponse<String> uploadImage(@RequestParam("file") MultipartFile file) throws IOException {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user