文章归档

请求方法:GET

请求地址:/article/archives/page

请求参数:
current:当前页,非必传,默认1
size:每页数量,非必传,默认12

需要access_token:

需要管理员权限:

接口说明:按年月归档,月份文章计数。

获取成功:

{
  "code": 0,
  "message": "成功",
  "data": {
    "records": [
      {
        "yearMonth": "2020-01",
        "articleCount": 2
      },
      {
        "yearMonth": "2019-12",
        "articleCount": 1
      }
    ],
    "total": 2,
    "size": 12,
    "current": 1,
    "searchCount": true,
    "pages": 1
  }
}

results matching ""

    No results matching ""