简要描述:
请求接口:
- route=finance.income-page.index
请求URL:
GET/addons/yun_shop/api.php?i=3&type=5&route=finance.income-page.index
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"info": {
"avatar":"",
"nickname": "卡卡",
"member_id": 1,
"grand_tota"l: "778408.13",
"usable_total "l: "778408.13",
},
"parameter ": {
"share_page ":false,
"plugin_settle_show" : true;
},
"available " : [{
"url ":"",
"icon ": "卡卡",
"title ": 1,
"level": "等级",
"value" : "778408.13",
"is_agent ": true,
"is_relation ": true,
}],
"unavailable " : [{
"url ":"",
"icon ": "卡卡",
"title ": 1,
"level": "等级",
"value":"",
"is_agent ": true,
"is_relation ": true,
}]
}
}
返回info参数说明:
参数名 |
类型 |
说明 |
avatar |
string |
会员头像 |
nickname |
string |
会员昵称 |
member_id |
int |
会员ID |
grand_total |
float |
累计收入 |
usable_total |
float |
可提现收入 |
auto_withdraw |
int |
是否自动提现 0:不自动提现 大于0:自动提现日期 |
返回parameter 参数说明:
参数名 |
类型 |
说明 |
share_page |
bool |
我的收入页面显示开关 |
plugin_settle_show |
bool |
领取收益页显示开关 |
available、unavailable参数说明:
参数名 |
类型 |
说明 |
url |
string |
前段 url 标识 |
icon |
string |
图标 |
mark |
string |
唯一标识 |
title |
string |
类型名称 |
level |
string |
类型等级 |
value |
float |
累计金额 |
is_agent |
bool |
是否验证推客 |
is_relation |
bool |
是否验证关系链 |
参数名 |
类型 |
说明 |
is_show_performance |
int |
商城营业额显示 1开启,0关闭 |
jump_link参数说明:
参数名 |
类型 |
说明 |
jump_link |
string |
跳转链接 '':空,为不跳转 |
withdraw_date:
参数名 |
类型 |
说明 |
day |
int |
几号可以提现 |
disable |
int |
提现按钮是否禁用 0 否 1禁用 |
day_msg |
string |
提现日期说明 |
备注: