Expand description
评论相关接口。 评论模块:提供评论的 CRUD、Markdown 渲染、审核状态流转与分页查询。
所有 Dioxus server function 均注册在 /api 路径下,供前端与服务端调用。
仅在 feature = "server" 启用的服务端构建中执行数据库操作与缓存失效。
Re-exports§
pub use check::check_pending_status;pub use create::create_comment;pub use list::get_all_comments;pub use list::get_pending_count;pub use read::get_comments;pub use update::approve_comment;pub use update::batch_update_comment_status;pub use update::spam_comment;pub use update::trash_comment;pub use types::*;