Skip to main content

trash_comment_impl

Function trash_comment_impl 

Source
pub(crate) async fn trash_comment_impl(id: i64) -> Result<bool, AppError>
Expand description

将评论移入回收站(软删除);评论不存在返回 Ok(false)。

不做鉴权:调用方各自鉴权。