From 47c60294927bbb43884010bc52d586761a93af93 Mon Sep 17 00:00:00 2001 From: sejin7940 Date: Mon, 4 Feb 2019 16:56:27 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=B6=94=EC=B2=9C=20=EB=B0=8F=20=EB=B9=84?= =?UTF-8?q?=EC=B6=94=EC=B2=9C=EC=8B=9C=20=EB=8C=80=EC=83=81=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=A0=84=EB=8B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 방명록 처럼 여러게시물을 동시에 출력하는 경우, 추천 및 비추천시 대상정보 전달하기 위해 --- modules/document/document.controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index b2c03e27a3..83accc08f9 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -41,6 +41,7 @@ function procDocumentVoteUp() $point = 1; $output = $this->updateVotedCount($document_srl, $point); $this->add('voted_count', $output->get('voted_count')); + $this->add('target_srl', $document_srl); return $output; } @@ -86,6 +87,7 @@ function procDocumentVoteDown() $point = -1; $output = $this->updateVotedCount($document_srl, $point); $this->add('blamed_count', $output->get('blamed_count')); + $this->add('target_srl', $document_srl); return $output; } From 03f78c9405ae8ee16451a55b9b7d51c114841d8e Mon Sep 17 00:00:00 2001 From: sejin7940 Date: Mon, 4 Feb 2019 17:03:51 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EC=B6=94=EC=B2=9C/?= =?UTF-8?q?=EB=B9=84=EC=B6=94=EC=B2=9C=20=EC=8B=9C=20=EB=8C=80=EC=83=81=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EC=A0=84=EB=8B=AC=20=EC=9C=84=ED=95=B4?= =?UTF-8?q?=EC=84=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 댓글 추천/비추천 시 대상 정보 전달 위해서 --- modules/comment/comment.controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index c000f4a238..0a508920d3 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -56,6 +56,7 @@ function procCommentVoteUp() $point = 1; $output = $this->updateVotedCount($comment_srl, $point); $this->add('voted_count', $output->get('voted_count')); + $this->add('target_srl', $comment_srl); return $output; } @@ -94,6 +95,7 @@ function procCommentVoteDown() $point = -1; $output = $this->updateVotedCount($comment_srl, $point); $this->add('blamed_count', $output->get('blamed_count')); + $this->add('target_srl', $comment_srl); return $output; }