diff --git a/src/views/admin/ReportAdminView.vue b/src/views/admin/ReportAdminView.vue index 67bd59a..6033690 100644 --- a/src/views/admin/ReportAdminView.vue +++ b/src/views/admin/ReportAdminView.vue @@ -17,6 +17,9 @@ const blockedCount = computed(() => items.value.filter((i) => i.blocked).length) function keyOf(it) { return `${it.targetType}:${it.targetId}` } +function isSpam(it) { + return it.blockReason === '스팸 키워드 감지' +} function categoryLabel(c) { return CATEGORY_LABEL[c] || c || '게시판' } @@ -99,8 +102,8 @@ onMounted(load)

- 신고 누적 5건 이상이면 자동 블라인드됩니다. 관리자는 여기서 신고 내용을 검토해 - 블라인드 하거나, 정상 글이면 신고 무시로 정리할 수 있습니다. + 신고 누적 5건 이상 또는 스팸 키워드 포함 시 자동 블라인드됩니다. + 관리자는 여기서 내용을 검토해 블라인드 하거나, 정상 글이면 신고 무시로 정리할 수 있습니다.

@@ -123,7 +126,8 @@ onMounted(load) {{ it.targetType === 'POST' ? '글' : '댓글' }} {{ categoryLabel(it.category) }} - 🚩 {{ it.reportCount }} + 🤖 스팸감지 + 🚩 {{ it.reportCount }} 블라인드됨 {{ formatTime(it.lastReportedAt) }}
@@ -134,6 +138,7 @@ onMounted(load)

{{ it.content }}

작성자: {{ it.authorName || '알 수 없음' }}

+

사유: {{ it.blockReason }}

글 보기 @@ -156,7 +161,7 @@ onMounted(load) 블라인드 해제