이은진 이은진 07-31
240731 이은진 controller POST 방식 변경
@8253481f92269f79ef971212c6b806430a652397
src/main/java/com/takensoft/ai_lms/lms/schedule/web/ScheduleController.java
--- src/main/java/com/takensoft/ai_lms/lms/schedule/web/ScheduleController.java
+++ src/main/java/com/takensoft/ai_lms/lms/schedule/web/ScheduleController.java
@@ -55,7 +55,7 @@
     /**
      * 학습 일정 출력
      */
-    @GetMapping("/selectSchedule.json")
+    @PostMapping("/selectSchedule.json")
     @Operation(summary = "스케줄 출력")
     public List<HashMap<String, Object>> selectSchedule(@RequestBody HashMap<String, Object> stdId) throws Exception {
         return scheduleService.selectSchedule(stdId);
@@ -65,7 +65,7 @@
     /**
      * 학습 일정 수정
      */
-    @PutMapping(value = "/scheduleUpdate.json")
+    @PostMapping(value = "/scheduleUpdate.json")
     @Operation(summary = "스케줄 수정")
     public String scheduleUpdate(@RequestBody ScheduleVO scheduleVO) throws Exception {
         Gson gson = new Gson();
@@ -92,7 +92,7 @@
     /**
      * 학습 일정 삭제
      */
-    @DeleteMapping(value = "/scheduleDelete.json")
+    @PostMapping(value = "/scheduleDelete.json")
     @Operation(summary = "스케줄 삭제")
     public String scheduleDelete(@RequestBody Map<String, String> request) throws Exception {
         Gson gson = new Gson();
src/main/java/com/takensoft/ai_lms/lms/text/web/TextController.java
--- src/main/java/com/takensoft/ai_lms/lms/text/web/TextController.java
+++ src/main/java/com/takensoft/ai_lms/lms/text/web/TextController.java
@@ -60,7 +60,7 @@
     /**
      * 지문 리스트 조회
      */
-    @GetMapping("/selectTextList.json")
+    @PostMapping("/selectTextList.json")
     @Operation(summary = "지문 리스트 조회")
     public HashMap<String, Object> getTextList(@RequestBody HashMap<String, Object> params) throws Exception {
         HashMap<String, Object> result = new HashMap<>();
@@ -78,7 +78,7 @@
     /**
      * 지문 출력
      */
-    @GetMapping("/selectOneText.json")
+    @PostMapping("/selectOneText.json")
     @Operation(summary = "지문 출력")
     public List<HashMap<String, Object>> selectOneText(@RequestBody HashMap<String, Object> textId) throws Exception {
         return TextService.selectOneText(textId);
@@ -88,7 +88,7 @@
     /**
      * 지문 수정
      */
-    @PutMapping(value = "/textUpdate.json")
+    @PostMapping(value = "/textUpdate.json")
     @Operation(summary = "지문 수정")
     public String textUpdate(@RequestBody TextVO textVO) throws Exception {
         Gson gson = new Gson();
@@ -115,7 +115,7 @@
     /**
      * 지문 삭제
      */
-    @DeleteMapping(value = "/textDelete.json")
+    @PostMapping(value = "/textDelete.json")
     @Operation(summary = "지문 삭제")
     public String textDelete(@RequestBody Map<String, String> request) throws Exception {
         Gson gson = new Gson();
@@ -143,7 +143,7 @@
     /**
      * 지문 검색
      */
-    @GetMapping("/textSearch.json")
+    @PostMapping("/textSearch.json")
     @Operation(summary = "지문 검색")
     public HashMap<String, Object> searchText(@RequestBody HashMap<String, Object> params) throws Exception {
         HashMap<String, Object> result = new HashMap<>();
Add a comment
List