Skip to main content

Module read

Module read 

Source
Expand description

前端评论读取接口:已审核评论列表。

结果按文章 id 缓存,Leptos server function 注册在 /api 路径下。 仅在 feature = "server" 启用的服务端构建中查询数据库。

Structs§

GetComments
Serialized arguments for the get_comments server function.

Functions§

get_comments
获取指定文章的已审核评论列表。