Skip to main content

recommend_for_path

Function recommend_for_path 

Source
pub async fn recommend_for_path(
    path: String,
) -> Result<PathRecommendations, ApiError>
Expand description

按地址里的词匹配已发布文章的标题与 slug,命中词多的排前,最多 3 篇。 地址里没有可用的词时不查询。公开接口,结果不缓存(只在 404 时调用)。