简要描述:
- 我的推荐人
请求域名:
- http://test.yunzshop.com
请求URL:
GET/addons/yun_shop/api.php?i=2&route=member.member.getMyAgent
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
- | - | - | - |
返回示例:
正确时返回:
{
result: 1,
msg: "ok",
data: {
uid: 1,
avatar: avatar.jpg
nickname: xx
order_total: 1
order_price: 1
agent_total: 1
}
}
错误时返回:
{
result: 0,
msg: "数据为空",
data: null
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
uid | int | 会员ID |
avatar | string | 头像 |
nickname | string | 昵称 |
order_total | int | 订单数量 |
order_price | int | 订单总金额 |
agent_total | int | 下线人数 |
备注:
- 更多返回错误代码请看首页的错误代码描述