分页查询用户失效算力记录 - YaOuGuoJi/platform-chain GitHub Wiki
接口定义
URL
参数列表
参数名 |
参数类型 |
说明 |
举例 |
是否必须 |
pageNum |
int |
当前页数 |
1 |
true |
pageSize |
int |
每页大小 |
2 |
true |
返回值说明
temporary : 1 - 临时, 0 - 非临时
valid : 1 - 有效, 0 - 无效
返回值示例
{
"code": 200,
"success": true,
"message": "操作成功",
"data": {
"total": 38,
"list": [{
"id": 8,
"userId": 100001,
"source": "邀请好友",
"power": 20,
"temporary": 1,
"valid": 0,
"addTime": "2018-11-12T03:51:11.000+0000",
"updateTime": "2018-11-15T08:24:16.000+0000"
}, {
"id": 12,
"userId": 100001,
"source": "购物",
"power": 20,
"temporary": 1,
"valid": 0,
"addTime": "2018-11-12T03:51:12.000+0000",
"updateTime": "2018-11-15T08:24:16.000+0000"
}],
"pageNum": 1,
"pageSize": 2,
"size": 2,
"startRow": 1,
"endRow": 2,
"pages": 19,
"prePage": 0,
"nextPage": 2,
"isFirstPage": true,
"isLastPage": false,
"hasPreviousPage": false,
"hasNextPage": true,
"navigatePages": 8,
"navigatepageNums": [1, 2, 3, 4, 5, 6, 7, 8],
"navigateFirstPage": 1,
"navigateLastPage": 8
}
}