@@@待完善@@@

请求域名:

  • http://test.yunzshop.com

请求URL:

GET/plugin.commission-statistics.api.index.index&keyword=1

请求参数说明:

参数名 类型 说明
keyword string 手机号/昵称/会员ID/姓名

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "请求接口成功",
    "data": {
        "total": 4,
        "per_page": 20,
        "current_page": 1,
        "last_page": 1,
        "next_page_url": null,
        "prev_page_url": null,
        "from": 1,
        "to": 4,
        "data": [
            {
                "member_id": 5,
                "agent_level_id": 2,
                "created_at": "2017-08-16 10:09:35",
                "member": {
                    "uid": 5,
                    "avatar": "http://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0",
                    "nickname": "Lily",
                    "avatar_image": "https://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0",
                    "username": "Lily"
                },
                "agent_level": {
                    "id": 2,
                    "name": "皇冠"
                },
                "order": [
                    {
                        "uid": 5,
                        "sumPrice": "911.00",
                        "count": 8,
                        "status": 3,
                        "status_name": "交易完成",
                        "pay_type_name": null,
                        "process": [],
                        "has_one_pay_type": null
                    }
                ]
            },
    "validate_page": {
        "is_bind_mobile": 0,
        "invite_page": 0,
        "is_invite": 0,
        "is_login": 1,
        "invite_mobile": 0
    }
}

返回参数说明:

参数名 类型 说明
member_id int 会员id
created_at timestamp 成为分销商时间
total int 分销商总人数
member[avatar_image] string 会员头像
member[nickname] string 会员昵称
agent_level[name] string 分销商等级(agent_level=null时显示"默认等级"即可)
order[sumPrice] int 订单总金额
order[count] int 订单总数量

备注: