商城
## 商城
### 请求地址
```
api/index/
```
### 请求参数
| 请求参数 | 类型 | 说明 | 是否必填 |
|---------|------|------|---------|
| _handle | string | 固定值:ShopPage | 是 |
| _method | string | 固定值:GetShopData | 是 |
| xy_uid | int | 用户编号 | 是 |
### 返回值
``` json
{
"code":1,
"msg":"",
"data":{
"img":"xxxx",//图片
"xy_today_coin":1,//今日平台币
"xy_total_coin":1,//累计平台币
"xy_today_rmb":1,//今日现金
"xy_total_rmb":1,//累计现金
}
}
```
## 兑换记录
### 请求地址
```
api/index/
```
### 请求参数
| 请求参数 | 类型 | 说明 | 是否必填 |
|---------|------|------|---------|
| _handle | string | 固定值:ShopPage | 是 |
| _method | string | 固定值:GetRecordByUid | 是 |
| xy_uid | int | 用户编号 | 是 |
### 返回值
``` json
{
"code":1,
"msg":"",
"data":[{
"xy_uname":"xxxx",//账号
"xy_goodsname":1,//商品名称
"xy_createtime":1,//时间
"xy_price":1,//金额
}]
}
```
## 兑换佣金详情
### 请求地址
```
api/index/
```
### 请求参数
| 请求参数 | 类型 | 说明 | 是否必填 |
|---------|------|------|---------|
| _handle | string | 固定值:ShopPage | 是 |
| _method | string | 固定值:GetLogByUid | 是 |
| xy_uid | int | 用户编号 | 是 |
| xy_type | int | 1 平台币 2现金 | 是 |
### 返回值
``` json
{
"code":1,
"msg":"",
"data":[{
"xy_uname":"xxxx",//账号
"xy_goodsname":1,//商品名称
"xy_createtime":1,//时间
"xy_money":1,//金额
"xy_sup_money":"1",//代理商获得
}]
}
```