You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

533 B

title description
站点统计 站点统计 - SiteStatsFinder

getStats()

siteStatsFinder.getStats()

描述

获取站点的统计信息。

参数

返回值

#SiteStatsVo

示例

<ul th:with="stats = ${siteStatsFinder.getStats()}">
  <li th:text="${stats.visit}"></li>
  <li th:text="${stats.post}"></li>
</ul>

类型定义

SiteStatsVo

{
  "visit": 0,
  "upvote": 0,
  "comment": 0,
  "post": 0,
  "category": 0
}