Skip to main content

spam_comment

Function spam_comment 

Source
pub async fn spam_comment(id: i64) -> Result<CommentResponse, ServerFnError>
Expand description

将指定评论标记为垃圾评论。

若原状态为 approved,则需要清空该文章相关缓存。

§Handler information

  • Method: post
  • Path: <auto>