Skip to main content

Module stats

Module stats 

Source
Expand description

文章统计接口。

返回文章总数、草稿数、已发布数与回收站(软删除)数量,供管理后台仪表盘与 文章列表页使用,结果缓存。Dioxus server function,注册在 /api 路径下。 仅在 feature = "server" 启用的服务端构建中查询数据库。

Functions§

get_post_stats
获取文章统计信息。