api_yearlist_for_bug_image_reg
This commit is contained in:
@@ -14,7 +14,7 @@ import java.time.Year;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@@ -39,7 +39,7 @@ public class MapSheetMngApiV2Controller {
|
||||
@ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content),
|
||||
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
||||
})
|
||||
@PostMapping("/mng-year-list")
|
||||
@GetMapping("/mng-year-list")
|
||||
public ApiResponseDto<MapSheetMngDto.ResisterYearList> findMapSheetMngYyyyList() {
|
||||
|
||||
List<Integer> years = mapSheetMngService.findMapSheetMngYyyyList();
|
||||
|
||||
Reference in New Issue
Block a user