pub(crate) async fn restore_post_impl( post_id: i32, author_id: Option<i32>, ) -> Result<CreatePostResponse, ApiError>
已鉴权入口共用的恢复逻辑;Some(author_id) 将访问限制到指定作者。