Skip to main content

restore_post

Function restore_post 

Source
pub async fn restore_post(post_id: i32) -> Result<CreatePostResponse, ApiError>
Expand description

恢复一篇已删除的文章(将 deleted_at 置空)。

若该文章原始 slug 已被其他未删除文章占用,自动追加数字后缀。