diff --git a/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java b/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java index d1d157a..182e354 100644 --- a/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java +++ b/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java @@ -15,6 +15,6 @@ public class ImageProcessRegisterDto { private String fullUrl; private List> colorsList; - private List> coordinateList; + private List> points; private int intensity; } diff --git a/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java b/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java index 8f616d3..d761bd7 100644 --- a/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java +++ b/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java @@ -86,9 +86,9 @@ public String getProcessImage(ImageProcessRegisterDto imageProcessRegisterDto) { if(imageProcessRegisterDto.getColorsList() != null){ log.info("color list: " + imageProcessRegisterDto.getColorsList()); url += "/process-color"; - } else if (imageProcessRegisterDto.getCoordinateList() != null){ - log.info("coordinate list: " + imageProcessRegisterDto.getCoordinateList().toString()); - url += "/process-coordinates"; + } else if (imageProcessRegisterDto.getPoints() != null){ + log.info("point list: " + imageProcessRegisterDto.getPoints().toString()); + url += "/process-shape"; } else{ url += "/process-color"; } diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index fee8778..af3c14b 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -3,7 +3,7 @@ - Responsive Landing Page + OnO, 나만의 진정한 오답노트