问卷/试卷服务
成长值服务
短信服务

投票服务


#投票排行榜分页列表

GET /api/tcc-business-common/vote/statistics
参数
类型 名称 说明 类型
Query title
选填
标题 string
Query current
选填
当前页 integer(int64)
Query size
选填
每页条数 integer (int32)
响应
HTTP代码 说明 类型
200 OK RestData
201 Created 无内容
401 Unauthorized 无内容
403 Forbidden 无内容
404 Not Found 无内容

响应示例

{
  "code": 200,
  "data": {
    "records": [
      {
        "id": "1371335000635154434",
        "title": "匿名投票",
        "viewCount": 2,
        "voteCount": 1,
        "voteDate": "2021-03-15 13:41:29"
      },
      {
        "id": "1326728456081522690",
        "title": "第二个投票项目",
        "viewCount": 263,
        "voteCount": 77,
        "voteDate": "2020-11-18 11:12:27"
      },
      {
        "id": "1326727740738787786",
        "title": "第三个投票项目",
        "viewCount": 2,
        "voteCount": 72,
        "voteDate": "2020-11-15 15:21:52"
      }
      
      
    ],
    "total": 5,
    "size": 20,
    "current": 1,
    "orders": [],
    "hitCount": false,
    "searchCount": true,
    "pages": 1
  },
  "desc": "操作成功"
}

响应参数说明

名称 说明 类型
id 主键id integer (int64)
title 标题 string
viewCount 总浏览数 integer (int32)
voteCount 总票数 integer (int32)
voteDate 最后投票时间 string (date-time)