点券数据
# 最近查看
## 说明
```
```
### 请求参数
| 参数 | 说明 | 类型 | 备注 | 是否必填 |
------- | -------- | ------ | ------------------- | -------- |
| _handle | 处理类 | string | 固定值: PointPage| 是 |
| _method | 处理方法 | string | 固定值: GetViewGame| 是 |
#### 请求地址
```
暂无
```
##### 返回值
```json
{
"code": 1,
"msg": "succeed",
"data":
[
{
"xy_game_id":"",// 游戏id
"xy_game_name":"",// 游戏名称
}
]
}
```
# 游戏
## 说明
```
```
### 请求参数
| 参数 | 说明 | 类型 | 备注 | 是否必填 |
------- | -------- | ------ | ------------------- | -------- |
| _handle | 处理类 | string | 固定值: GamePage| 是 |
| _method | 处理方法 | string | 固定值: GetGamesPinYin| 是 |
#### 请求地址
```
暂无
```
##### 返回值
```json
{
"code": 1,
"msg": "succeed",
"data":
[{
"xy_pingyin":"A",
"xy_games":[
{"xy_game_id":"",// 游戏id"xy_game_name":"",// 游戏名称}
]
}]
}
```
# 点券数据总览
## 说明
```
```
### 请求参数
| 参数 | 说明 | 类型 | 备注 | 是否必填 |
------- | -------- | ------ | ------------------- | -------- |
| _handle | 处理类 | string | 固定值: PointPage| 是 |
| _method | 处理方法 | string | 固定值: GetPointOverview| 是 |
| xy_game_id |游戏id | int | | 是 |
#### 请求地址
```
暂无
```
##### 返回值
```json
{
"code": 1,
"msg": "succeed",
"data":
{
"xy_point_add_count":"123",// 今日发行
"xy_point_add_count_from_yesterday":"+123",// 较昨日
"xy_point_reduce_count":"123",// 今日消耗
"xy_point_reduce_count_from_yesterday":"+123",// 较昨日
"xy_point_user_total":"123",// 持有人数
"xy_point_user_total_high":"2020年6月6日(123个)",// 历史最高
"xy_point_total":"123",// 持有总量
"xy_point_total_high":"2020年6月6日(123个)",// 历史最高
"xy_point_add_total":"123",// 累计发行
"xy_point_add_count_high":"2020年6月6日(123个)",// 历史最高
"xy_point_reduce_total":"123",// 累计消耗
"xy_point_reduce_count_high":"2020年6月6日(123个)",// 历史最高
}
}
```
# 点券发行与消耗、积分top10
## 说明
```
```
### 请求参数
| 参数 | 说明 | 类型 | 备注 | 是否必填 |
| ------- | -------- | ------ | ------------------- | -------- |
| _handle | 处理类 | string | 固定值: PointPage| 是 |
| _method | 处理方法 | string | 固定值: GetPointTop10| 是 |
| xy_game_id |游戏id | int | | 是 |
| start_time | 开始日期 | datetime| 默认值: datetime.now.addday(-3) 2020-08-08 20:00:00| 是 |
| end_time | 结束日期 | datetime| 默认值: datetime.now 2020-08-08 20:00:00| 是 |
#### 请求地址
```
暂无
```
##### 返回值
```json
{
"code": 1,
"msg": "succeed",
"data":
{// 点券发行与消耗
"add_reduce": [
{
"add":0,// 发行量
"reduce":0,// 消耗量
"time":"2020-08-08 20:00:00",// 时间
}
],// 点券持有量top10
"add_top10": [
{
"xy_uname":"123",// uname
"total":10,// 数量
}
],// 点券消耗量top10
"reduce_top10": [
{
"xy_uname":"123",// uname
"total":10,// 数量
}
],
}
}
```