feat: 게시판 신고 UI — 글/댓글 신고 버튼 + 블라인드 표시
CI / build (push) Failing after 12m42s

- 작성자·관리자 외 신고 버튼(글 액션·각 댓글)
- 신고 누적 블라인드 댓글: 비관리자 가림, 관리자만 본문 + 신고 블라인드 뱃지
- 신고 후 새로고침으로 상태 반영

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-28 18:05:43 +09:00
parent 0fa8c95139
commit 59f38b3348
2 changed files with 65 additions and 1 deletions
+7
View File
@@ -58,6 +58,13 @@ export const boardApi = {
recommenders(id) {
return http.get(`/board/posts/${id}/recommenders`)
},
// 신고 (누적 5건 시 블라인드)
reportPost(id) {
return http.post(`/board/posts/${id}/report`)
},
reportComment(commentId) {
return http.post(`/board/comments/${commentId}/report`)
},
block(id, reason) {
return http.post(`/board/posts/${id}/block`, { reason })
},