Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 041d67e

Browse files
committed
20210424 put -> patch
1 parent 6e60f9d commit 041d67e

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

‎src/main/java/com/singer/controller/SB01Controller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public ResponseEntity<SB01Vo> deleteSB01Vo(@ModelAttribute SB01Vo sb01Vo, HttpSe
127127
}
128128

129129
@ResponseBody
130-
@RequestMapping(value = "/sb01like/{seq}", method = RequestMethod.PUT)
130+
@RequestMapping(value = "/sb01like/{seq}", method = RequestMethod.PATCH)
131131
public ResponseEntity<SB01Vo> likeSB01Vo(@ModelAttribute SB01Vo sb01Vo, HttpServletRequest request)
132132
throws Exception {
133133
log.debug("enter sb01like put");
@@ -141,7 +141,7 @@ public ResponseEntity<SB01Vo> likeSB01Vo(@ModelAttribute SB01Vo sb01Vo, HttpServ
141141
}
142142

143143
@ResponseBody
144-
@RequestMapping(value = "/sb01hate/{seq}", method = RequestMethod.PUT)
144+
@RequestMapping(value = "/sb01hate/{seq}", method = RequestMethod.PATCH)
145145
public ResponseEntity<SB01Vo> hateSB01Vo(@ModelAttribute SB01Vo sb01Vo, HttpServletRequest request)
146146
throws Exception {
147147
log.debug("enter sb01hate put");

‎src/main/java/com/singer/controller/SF01Controller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public ResponseEntity<SF01Vo> deleteSF01Vo(@ModelAttribute SF01Vo sf01Vo, HttpSe
123123
}
124124

125125
@ResponseBody
126-
@RequestMapping(value = "/sf01like/{seq}", method = RequestMethod.PUT)
126+
@RequestMapping(value = "/sf01like/{seq}", method = RequestMethod.PATCH)
127127
public ResponseEntity<SF01Vo> likeSF01Vo(@ModelAttribute SF01Vo sf01Vo, HttpServletRequest request)
128128
throws Exception {
129129
log.debug("enter sf01like put");
@@ -137,7 +137,7 @@ public ResponseEntity<SF01Vo> likeSF01Vo(@ModelAttribute SF01Vo sf01Vo, HttpServ
137137
}
138138

139139
@ResponseBody
140-
@RequestMapping(value = "/sf01hate/{seq}", method = RequestMethod.PUT)
140+
@RequestMapping(value = "/sf01hate/{seq}", method = RequestMethod.PATCH)
141141
public ResponseEntity<SF01Vo> hateSF01Vo(@ModelAttribute SF01Vo sf01Vo, HttpServletRequest request)
142142
throws Exception {
143143
log.debug("enter sf01hate put");

‎src/main/java/com/singer/controller/SR01Controller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public ResponseEntity<SR01Vo> deleteSR01Vo(@ModelAttribute SR01Vo sr01Vo, HttpSe
123123
}
124124

125125
@ResponseBody
126-
@RequestMapping(value = "sr01like/{seq}", method = RequestMethod.PUT)
126+
@RequestMapping(value = "sr01like/{seq}", method = RequestMethod.PATCH)
127127
public ResponseEntity<SR01Vo> likeSR01vo(@ModelAttribute SR01Vo sr01Vo, HttpServletRequest request)
128128
throws Exception {
129129
log.debug("enter sr01like put");
@@ -136,7 +136,7 @@ public ResponseEntity<SR01Vo> likeSR01vo(@ModelAttribute SR01Vo sr01Vo, HttpServ
136136
}
137137

138138
@ResponseBody
139-
@RequestMapping(value = "sr01hate/{seq}", method = RequestMethod.PUT)
139+
@RequestMapping(value = "sr01hate/{seq}", method = RequestMethod.PATCH)
140140
public ResponseEntity<SR01Vo> hateSR01vo(@ModelAttribute SR01Vo sr01Vo, HttpServletRequest request)
141141
throws Exception {
142142
log.debug("enter sr01hate put");

‎src/main/java/com/singer/controller/SV01Controller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public ResponseEntity<SV01Vo> deleteSV01Vo(@ModelAttribute SV01Vo sv01Vo, HttpSe
117117
}
118118

119119
@ResponseBody
120-
@RequestMapping(value = "sv01like/{seq}", method = RequestMethod.PUT)
120+
@RequestMapping(value = "sv01like/{seq}", method = RequestMethod.PATCH)
121121
public ResponseEntity<SV01Vo> likeSV01vo(@ModelAttribute SV01Vo sv01Vo, HttpServletRequest request)
122122
throws Exception {
123123
log.debug("enter sv01like put");
@@ -130,7 +130,7 @@ public ResponseEntity<SV01Vo> likeSV01vo(@ModelAttribute SV01Vo sv01Vo, HttpServ
130130
}
131131

132132
@ResponseBody
133-
@RequestMapping(value = "sv01hate/{seq}", method = RequestMethod.PUT)
133+
@RequestMapping(value = "sv01hate/{seq}", method = RequestMethod.PATCH)
134134
public ResponseEntity<SV01Vo> hateSV01vo(@ModelAttribute SV01Vo sv01Vo, HttpServletRequest request)
135135
throws Exception {
136136
log.debug("enter sv01hate put");

‎src/main/webapp/WEB-INF/views/sb01view_detail.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
235235
function like_sb01() {
236236
237-
gfn_ajaxRest("sb01like/" + parseInt($("#seq01").val()), "PUT", function(data) {
237+
gfn_ajaxRest("sb01like/" + parseInt($("#seq01").val()), "PATCH", function(data) {
238238
if(data.result == 1) {
239239
$("#good").text(data.good);
240240
$("#button_like").attr('disabled', true);
@@ -245,7 +245,7 @@
245245
246246
function hate_sb01() {
247247
248-
gfn_ajaxRest("sb01hate/" + parseInt($("#seq01").val()), "PUT" , function(data) {
248+
gfn_ajaxRest("sb01hate/" + parseInt($("#seq01").val()), "PATCH" , function(data) {
249249
if(data.result == 1) {
250250
$("#good").text(data.good);
251251
$("#button_hate").attr('disabled', true);

‎src/main/webapp/WEB-INF/views/sf01view_detail.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
235235
function like_sf01() {
236236
237-
gfn_ajaxRest("sf01like/" + parseInt($("#seq01").val()), "PUT" , function(data) {
237+
gfn_ajaxRest("sf01like/" + parseInt($("#seq01").val()), "PATCH" , function(data) {
238238
if(data.result == 1) {
239239
$("#good").text(data.good);
240240
$("#button_like").attr('disabled', true);
@@ -245,7 +245,7 @@
245245
246246
function hate_sf01() {
247247
248-
gfn_ajaxRest("sf01hate/" + parseInt($("#seq01").val()),"PUT" , function(data) {
248+
gfn_ajaxRest("sf01hate/" + parseInt($("#seq01").val()),"PATCH" , function(data) {
249249
if(data.result == 1) {
250250
$("#good").text(data.good);
251251
$("#button_hate").attr('disabled', true);

‎src/main/webapp/WEB-INF/views/sr01view_detail.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
337337
function like_sr01() {
338338
339-
gfn_ajaxRest("sr01like/" + parseInt($("#seq").val()), "PUT", function(data) {
339+
gfn_ajaxRest("sr01like/" + parseInt($("#seq").val()), "PATCH", function(data) {
340340
if(data.result == 1) {
341341
$("#good").text(data.good);
342342
$("#button_like").attr('disabled', true);
@@ -347,7 +347,7 @@
347347
348348
function hate_sr01() {
349349
350-
gfn_ajaxRest("sr01hate/" + parseInt($("#seq").val()), "PUT" , function(data) {
350+
gfn_ajaxRest("sr01hate/" + parseInt($("#seq").val()), "PATCH" , function(data) {
351351
if(data.result == 1) {
352352
$("#good").text(data.good);
353353
$("#button_hate").attr('disabled', true);

‎src/main/webapp/WEB-INF/views/sv01view_detail.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
369369
function like_sv01() {
370370
371-
gfn_ajaxRest("sv01like/" + parseInt($("#seq").val()), "PUT", function(data) {
371+
gfn_ajaxRest("sv01like/" + parseInt($("#seq").val()), "PATCH", function(data) {
372372
if(data.result == 1) {
373373
$("#good").text(data.good);
374374
$("#button_like").attr('disabled', true);
@@ -379,7 +379,7 @@
379379
380380
function hate_sv01() {
381381
382-
gfn_ajaxRest("sv01hate/" + parseInt($("#seq").val()), "PUT" , function(data) {
382+
gfn_ajaxRest("sv01hate/" + parseInt($("#seq").val()), "PATCH" , function(data) {
383383
if(data.result == 1) {
384384
$("#good").text(data.good);
385385
$("#button_hate").attr('disabled', true);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /