Authored by tanling

mars point流水接口增加

... ... @@ -221,6 +221,7 @@ mars点数(method=app.yohocoin.lists)
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|uid|int|否|213|0|用户id|
|session_code|String|是|008956740df26a108021a0b592ac7291||mars points明细调用时必须,有货币明细时不需要|
|page|int|是|2|1|页数|
|limit|int|是|20|20|每页的记录数|
|queryType|int|是|0|0|0-所有;1-收入;2-支出|
... ... @@ -229,7 +230,10 @@ mars点数(method=app.yohocoin.lists)
注意,通用的头部没有列出。
请求示例
有货币明细:
http://192.168.102.217:8080/gateway?method=app.yohocoin.lists&uid=50030147&debug=XYZ
mars points 明细:
http://192.168.102.217:8080/gateway?method=app.yohocoin.lists&uid=50030147&session_code=008956740df26a108021a0b592ac7291&debug=XYZ
### 响应
... ... @@ -428,6 +432,72 @@ code为200即为成功,否则是失败。
}
```
```json
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"coinlist": [
{
"date": "2016-05-20 11:30:32",
"message": "2016-03-16订单兑换失败,积分返还213415",
"num": 200,
"title": "mars点数兑换失败",
"type": 22
},
{
"date": "2016-05-20 11:28:47",
"message": "兑换电子卷53415",
"num": -200,
"title": "兑换电子券",
"type": 21
},
{
"date": "2016-05-20 11:28:03",
"message": "兑换话费2314",
"num": -50,
"title": "兑换话费",
"type": 20
},
{
"date": "2016-05-20 11:27:13",
"message": "兑换实物624",
"num": -100,
"title": "兑换实物",
"type": 19
},
{
"date": "2016-05-20 11:25:25",
"message": "2016-04-15在德吉完成签到5462",
"num": 300,
"title": "地点签到",
"type": 17
},
{
"date": "2016-05-20 11:24:44",
"message": "2016-04-15在黄山完成签到5132214",
"num": 200,
"title": "地点签到",
"type": 17
},
{
"date": "2016-05-20 11:23:08",
"message": "这是一条合格的评价214123",
"num": 100,
"title": "合格评价",
"type": 18
}
],
"limit": 20,
"page": 1,
"page_total": 7,
"total": 7
},
"md5": "bdda1cb138535afc516aa4245eaf8699",
"message": "yoho coin list"
}
```
## 5、兑换失败返回被使用的mars点数##
兑换失败返回被使用的mars点数(method=app.marspoint.return)
... ...