简要描述:

  • 好友裂变前端-排行榜

请求域名:

  • http://xx.com

请求URL:

plugin.customer-increase.frontend.activity.activityMemberRank

参数:

参数名 是否必须 类型 说明
id int 活动id
page int 页数,默认1

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 11,
                "uid": 5,
                "active_num": 1,
                "has_one_member": {
                    "uid": 5,
                    "nickname": "莉莉娅",
                    "avatar": "http://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0",
                    "avatar_image": "https://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0",
                    "username": "莉莉娅"
                }
            },
            {
                "id": 12,
                "uid": 6,
                "active_num": 1,
                "has_one_member": {
                    "uid": 6,
                    "nickname": "",
                    "avatar": "http://wx.qlogo.cn/mmopen/PamdECAHgrhwg1us7EZq2gOiaPzZpX8pn5QwOM9AwlZ5NvDaXvbYY7caRdkcZFjMOJZrIXPYb7rMTicc5b2vic7MIKe7Y07kWiav/0",
                    "avatar_image": "https://wx.qlogo.cn/mmopen/PamdECAHgrhwg1us7EZq2gOiaPzZpX8pn5QwOM9AwlZ5NvDaXvbYY7caRdkcZFjMOJZrIXPYb7rMTicc5b2vic7MIKe7Y07kWiav/0",
                    "username": ""
                }
            }
        ],
        "first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
        "per_page": 10,
        "prev_page_url": null,
        "to": 2,
        "total": 2,
        "rank": 2,
        "invite_count": 1,
        "chat_data": {
            "show_mini": 0,
            "url": "",
            "qrcode": "",
            "mobile": ""
        },
        "isset_poster": 1,
        "auto_poster": 0,
        "staff_data": [
            {
                "id": 24,
                "uniacid": 1,
                "business_id": 1,
                "uid": 76,
                "user_id": "joy",
                "name": "Joy",
                "mobile": "",
                "position": "",
                "gender": 2,
                "telephone": "",
                "email": "",
                "avatar": "http://wework.qpic.cn/bizmail/B6sicvR9cyf96q66ObtIDrJSLnXgjLQCVzzjibGJZA7YqhGfbwD4OGxQ/0",
                "alias": "",
                "status": 1,
                "qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vc5302e1e1edad67b5",
                "address": "",
                "open_userid": "1_joy",
                "main_department": "1",
                "updated_at": "2021-09-08 16:59:26",
                "created_at": "2021-09-08 16:59:26",
                "deleted_at": null,
                "right_type": 0,
                "disabled": 0
            },
            {
                "id": 25,
                "uniacid": 1,
                "business_id": 1,
                "uid": 11,
                "user_id": "KaKa",
                "name": "柏丽芬",
                "mobile": "15219025049",
                "position": "测试",
                "gender": 2,
                "telephone": "123456789",
                "email": "1025052853@qq.com",
                "avatar": "http://wework.qpic.cn/bizmail/nXEfaZSylbYEJbvD0xqX34aE6h39ERia7061k847u5mHZiab3shNFbXw/0",
                "alias": "",
                "status": 1,
                "qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vcbf8f3389002f91aa",
                "address": "55556677",
                "open_userid": "1_KaKa",
                "main_department": "1",
                "updated_at": "2021-11-23 15:07:46",
                "created_at": "2021-09-08 16:59:26",
                "deleted_at": null,
                "right_type": 0,
                "disabled": 0
            }
        ],
        "member": {
            "nickname": "莉莉娅",
            "username": "莉莉娅",
            "avatar": "http://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0",
            "avatar_image": "https://wx.qlogo.cn/mmopen/vi_32/zs9mjh65RUyAyEH9GEKakpokzf6askhga7sKkaqjhT7M13XhbciaEq7CoDicVEN7ut3zC9dCmvlfiaCpNX8v4E1QA/0"
        }
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
data.rank int 该用户当前排行,-1为没上榜,正数为排行第几名
data.invite_count int 该用户邀请人数
data.data[].has_one_member object 排行榜会员信息
data.data[].active_num int 排行榜邀请人数
data.chat_data object 客服信息数组
data.chat_data.show_mini int 1小程序显示客服 0小程序隐藏客服
data.chat_data.url string 客服链接,默认空字符串
data.chat_data.qrcode string 客服二维码或小程序码链接,默认空字符串
data.chat_data.mobile string 客服手机,默认空字符串
data.auto_poster int 是否自动生成海报 1是 0不是
data.isset_poster int 是否已经生成海报 1已生成 0未生成
data.staff_data arr 活动企业成员信息
data.member object 当前会员信息