--- 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 @@ |
55 | 55 |
/** |
56 | 56 |
* 학습 일정 출력 |
57 | 57 |
*/ |
58 |
- @GetMapping("/selectSchedule.json") |
|
58 |
+ @PostMapping("/selectSchedule.json") |
|
59 | 59 |
@Operation(summary = "스케줄 출력") |
60 | 60 |
public List<HashMap<String, Object>> selectSchedule(@RequestBody HashMap<String, Object> stdId) throws Exception { |
61 | 61 |
return scheduleService.selectSchedule(stdId); |
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 |
/** |
66 | 66 |
* 학습 일정 수정 |
67 | 67 |
*/ |
68 |
- @PutMapping(value = "/scheduleUpdate.json") |
|
68 |
+ @PostMapping(value = "/scheduleUpdate.json") |
|
69 | 69 |
@Operation(summary = "스케줄 수정") |
70 | 70 |
public String scheduleUpdate(@RequestBody ScheduleVO scheduleVO) throws Exception { |
71 | 71 |
Gson gson = new Gson(); |
... | ... | @@ -92,7 +92,7 @@ |
92 | 92 |
/** |
93 | 93 |
* 학습 일정 삭제 |
94 | 94 |
*/ |
95 |
- @DeleteMapping(value = "/scheduleDelete.json") |
|
95 |
+ @PostMapping(value = "/scheduleDelete.json") |
|
96 | 96 |
@Operation(summary = "스케줄 삭제") |
97 | 97 |
public String scheduleDelete(@RequestBody Map<String, String> request) throws Exception { |
98 | 98 |
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
... | ... | @@ -60,7 +60,7 @@ |
60 | 60 |
/** |
61 | 61 |
* 지문 리스트 조회 |
62 | 62 |
*/ |
63 |
- @GetMapping("/selectTextList.json") |
|
63 |
+ @PostMapping("/selectTextList.json") |
|
64 | 64 |
@Operation(summary = "지문 리스트 조회") |
65 | 65 |
public HashMap<String, Object> getTextList(@RequestBody HashMap<String, Object> params) throws Exception { |
66 | 66 |
HashMap<String, Object> result = new HashMap<>(); |
... | ... | @@ -78,7 +78,7 @@ |
78 | 78 |
/** |
79 | 79 |
* 지문 출력 |
80 | 80 |
*/ |
81 |
- @GetMapping("/selectOneText.json") |
|
81 |
+ @PostMapping("/selectOneText.json") |
|
82 | 82 |
@Operation(summary = "지문 출력") |
83 | 83 |
public List<HashMap<String, Object>> selectOneText(@RequestBody HashMap<String, Object> textId) throws Exception { |
84 | 84 |
return TextService.selectOneText(textId); |
... | ... | @@ -88,7 +88,7 @@ |
88 | 88 |
/** |
89 | 89 |
* 지문 수정 |
90 | 90 |
*/ |
91 |
- @PutMapping(value = "/textUpdate.json") |
|
91 |
+ @PostMapping(value = "/textUpdate.json") |
|
92 | 92 |
@Operation(summary = "지문 수정") |
93 | 93 |
public String textUpdate(@RequestBody TextVO textVO) throws Exception { |
94 | 94 |
Gson gson = new Gson(); |
... | ... | @@ -115,7 +115,7 @@ |
115 | 115 |
/** |
116 | 116 |
* 지문 삭제 |
117 | 117 |
*/ |
118 |
- @DeleteMapping(value = "/textDelete.json") |
|
118 |
+ @PostMapping(value = "/textDelete.json") |
|
119 | 119 |
@Operation(summary = "지문 삭제") |
120 | 120 |
public String textDelete(@RequestBody Map<String, String> request) throws Exception { |
121 | 121 |
Gson gson = new Gson(); |
... | ... | @@ -143,7 +143,7 @@ |
143 | 143 |
/** |
144 | 144 |
* 지문 검색 |
145 | 145 |
*/ |
146 |
- @GetMapping("/textSearch.json") |
|
146 |
+ @PostMapping("/textSearch.json") |
|
147 | 147 |
@Operation(summary = "지문 검색") |
148 | 148 |
public HashMap<String, Object> searchText(@RequestBody HashMap<String, Object> params) throws Exception { |
149 | 149 |
HashMap<String, Object> result = new HashMap<>(); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?