简要描述:
- 收入统计接口
请求域名:
- http://test.yunzshop.com
请求URL:
GET/addons/yun_shop/api.php?i=2&type=5&route=finance.earning.earning-count&test_uid=204
参数:
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"total": {
"grand_total ": "10000",
"can_withdraw ": "888",
},
"data": [ {
"title": "分销",
"ico": "fenxiao",
"type": "commission",
"type_name": "分销",
"income": 0,
"can": true
}]
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
grand_total | int | 累计收入 |
can_withdraw | int | 可提现收入 |
commission参数说明:
参数名 | 类型 | 说明 |
---|---|---|
title | string | 插件名称 |
ico | string | 图标 |
type | string | 类型 |
type_name | string | 类型名称 |
income | float | 收入金额 |
备注:
- 更多返回错误代码请看首页的错误代码描述