restrict v8

This commit is contained in:
tamakyi
2026-10-18 23:32:38 +08:00
parent 317c96ca17
commit 7a6417c33d
21 changed files with 626 additions and 21 deletions
+2
View File
@@ -78,6 +78,8 @@ func Report(ctx context.Context, pageUser *db.User, question *db.Question, f for
"reason": f.Reason,
}).Warn("Content reported")
notifyAbuseIfNeeded(pageUser)
// 单条内容被多人举报时提醒箱主自查(治理前移,减少「不知道越界」的情况)。
notifyQuestionOwner(pageUser, question)
}
// 首次与重复使用同一句提示(见上方设计取舍)。