Expand description
前端评论读取接口:已审核评论列表。
结果按文章 id 缓存,Leptos server function 注册在 /api 路径下。
仅在 feature = "server" 启用的服务端构建中查询数据库。
Structs§
- GetComments
- Serialized arguments for the
get_commentsserver function.
Functions§
- get_
comments - 获取指定文章的已审核评论列表。
前端评论读取接口:已审核评论列表。
结果按文章 id 缓存,Leptos server function 注册在 /api 路径下。
仅在 feature = "server" 启用的服务端构建中查询数据库。
get_comments server function.