Appearance
红包列表
1 接口名称
红包列表
2 接口描述
3 请求地址
Plain
{apiAddress}/redBag/page
4 请求方式
GET
5 请求参数
5.1 Header 参数
参数名 | 必选 | 类型/参数值 | 说明 |
---|---|---|---|
Content-Type | 是 | application/json | 请求参数类型 |
5.2 Query Params 参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
current | 是 | long | 当前页码 |
pageSize | 是 | long | 每页数量 |
spaceId | 是 | long | 空间ID |
name | 否 | String | 红包名字模糊 |
6 返回示例
JSON
{
"message": "success",
"code": 0,
"success": true,
"data": [
{
"id": 0, //红包id
"name": "", //红包名
"minPrice": 1.23, //最小金额
"maxPrice": 3.45, //最大金额
"faceImg": "", //封面图
"expireTime": "" //过期时间
}
],
"current": 1,
"size": 10,
"total": 1,
"count": 1
}