文档
测试

奖票池详情

GET
/mall/api/pool/getPool

接口描述

每一次查询都会清除用户的排队信息

请求头

参数名
类型
描述
必填
token
String
登录token, 可选 如果填了token就会去清除用户的排队信息
可选

请求参数

参数名
类型
描述
必填
poolId
int
奖票池id
必填
page
int
当前套 不传递 会进行默认查询
可选
isQuit
int
查询是否重置当前用户排队信息 1 重置 0 不重置 默认 0
必填

响应参数

参数名
类型
描述
必填
code
int
状态码 0 成功 其他失败
必填
msg
String
响应信息
必填
data
Object
响应数据
必填

说明 / 示例

#### 奖票池赏品列表 已做了排序,已开赏的会在列表最后面 ## `返回示例 - 带注释` ```java { "code": 0, "msg": "請求成功", "data": { "queueCount": 2, // 当前奖票池排队人数 "rewardNumberInfo": { // 奖票池数量信息 "number": 20, // 当前套剩余数量 "total": 30 // 当前套总数量 }, "page": 1, // 当前套 "maxPage": 10, // 总共多少套 "poolInfo": { // 奖票池信息 "id": 10, // 奖票池ID "allNumber": 10, // 奖票池全收开启数量 "price": 10.00, // 奖票池开赏价格 "name": "姐你好", // 奖票池名称 "detaPic": [ "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg" ], // 奖票池 详情图片 "slidPic": [ "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg" ] // 奖票池轮播图 }, "rewardInfo": [ // 奖票池赏品列表 { "rewardId": 11, // 赏品id "isOpen": 0, // 是否已开赏 1 已开 0 未开 "poolId": 4, // 奖票池id "page": 1, // 当前套 "sid": 1 // 套数id }, { "rewardId": 10, "isOpen": 1, "poolId": 4, "page": 1, "sid": 1, "pic": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg&refer=http%3A%2F%2Fwww.2008php.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1639638091&t=0e4772841361ffbc81d3ef0f07e4083a" // 图片 } ] } } ``` ## `返回示例 - 不带注释` ```java { "code": 0, "msg": "請求成功", "data": { "queueCount": 2, // 当前奖票池排队人数 "rewardNumberInfo": { "number": 20, "total": 30 }, "page": 1, "maxPage": 10, "poolInfo": { "allNumber": 10, "price": 10.00, "name": "姐你好", "id": 1, "detaPic": [ "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg" ], "slidPic": [ "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg" ], }, "rewardInfo": [ { "rewardId": 11, "isOpen": 0, "poolId": 4, "page": 1, "sid": 1, "pic": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg&refer=http%3A%2F%2Fwww.2008php.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1639638091&t=0e4772841361ffbc81d3ef0f07e4083a" }, { "rewardId": 10, "isOpen": 1, "poolId": 4, "page": 1, "sid": 1, "pic": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.2008php.com%2F09_Website_appreciate%2F10-07-11%2F1278861720_g.jpg&refer=http%3A%2F%2Fwww.2008php.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1639638091&t=0e4772841361ffbc81d3ef0f07e4083a" } ] } } ```