Skip to main content

Module comments

Module comments 

Source
Expand description

MCP 写作用域工具:评论审核管理。

镜像 src/api/comments/{list,update}.rs 的 server-fn 逻辑, 但用 bearer-token 鉴权,不走 cookie。 状态变更后执行与 web 后台一致的评论缓存失效。

本模块仅 feature = "server" 编译。

Structs§

CommentIdParams
CommentItem 🔒
CommentResult 🔒
CommentsList 🔒
ListCommentsParams
SetCommentStatusParams