查看投票列表 Copy
POST
/api/v1/miniapp/auth/users/all/请求参数
Body 参数application/json
current
integer
必需
size
integer
必需
title
null
必需
byVisibleIdList
null
必需
byCreateAtId
string
必需
startTimeRange
array[string]
必需
endTimeRange
array[string]
必需
示例
{
"current": 1,
"size": 10,
"title": null,
"byVisibleIdList": null,
"byCreateAtId": "1",
"startTimeRange": [
"2024-12-26 00:00:00",
"2099-12-26 00:00:00"
],
"endTimeRange": [
"2024-12-26 00:00:00",
"2099-12-26 00:00:00"
]
}
示例代码
返回响应
成功(200)
Validation Error(422)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
object
必需
records
array [object {19}]
必需
total
integer
必需
current
integer
必需
size
integer
必需
示例
{
"code": "0000",
"msg": "OK",
"data": {
"records": [
{
"title": "test111",
"fmtCreateTime": "2024-12-26 17:34:03",
"createTime": 1735205643071,
"fmtUpdateTime": "2024-12-26 17:34:03",
"updateTime": 1735205643071,
"byCreateAtId": 1,
"fmtEndTime": "2099-01-01 00:00:00",
"endTime": 4070880000000,
"description": "test111",
"id": 1,
"statusType": "1",
"fmtStartTime": "2024-12-26 00:00:00",
"startTime": 1735142400000,
"byVisibleIdList": [],
"byVisibleInfoList": [],
"byCreateAtInfo": {
"userName": "Soybean",
"nickName": "Soybean",
"id": 1
},
"byOptionInfoList": [
{
"byVoteId": 1,
"fmtCreateTime": "2024-12-26 17:34:03",
"createTime": 1735205643073,
"fmtUpdateTime": "2024-12-26 17:34:03",
"updateTime": 1735205643073,
"content": "test111",
"id": 1,
"statusType": "1"
}
],
"byOptionCount": 1,
"byRecordCount": 0
}
],
"total": 1,
"current": 1,
"size": 10
}
}
最后修改时间: 2 个月前