简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.team-analysis.frontend.list.customerList

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "uid": 165026,
                "nickname": "油炸桃子子子子子子子",
                "realname": "",
                "mobile": "17329760846",
                "avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/PyQfPaUyvfMjxsMQWkk59ibSQ0icSOQYUzMvO4ByXKO7tsa2jQhh9wEgJRVFl1V63diaLNUNkPKIB4ejlrAibicYNsQ/132",
                "order_count": 0,
                "order_price": 0,
                "avatar_image": "https://thirdwx.qlogo.cn/mmopen/vi_32/PyQfPaUyvfMjxsMQWkk59ibSQ0icSOQYUzMvO4ByXKO7tsa2jQhh9wEgJRVFl1V63diaLNUNkPKIB4ejlrAibicYNsQ/132",
                "username": "油炸桃子子子子子子子",
                "is_pay": 0,
                "create_time": "2022-06-09 14:34:27"
            },
            {
                "uid": 164979,
                "nickname": "徐志鸿",
                "realname": "",
                "mobile": "",
                "avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/0LJX2cUMB3v6tRD5GJyiaQ6ibfmraicAjQZDOVc35WLTibxANjX2K6bIXskyvIYObghtU7uia5w5rP7uEhQKR6DmyCg/132",
                "order_count": 0,
                "order_price": 0,
                "avatar_image": "https://thirdwx.qlogo.cn/mmopen/vi_32/0LJX2cUMB3v6tRD5GJyiaQ6ibfmraicAjQZDOVc35WLTibxANjX2K6bIXskyvIYObghtU7uia5w5rP7uEhQKR6DmyCg/132",
                "username": "徐志鸿",
                "is_pay": 0,
                "create_time": "2022-04-16 11:48:18"
            },
            {
                "uid": 164978,
                "nickname": "13*******20",
                "realname": "",
                "mobile": "13711106020",
                "avatar": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2021/12/68a0a0cfdbaa5785ee764c1971887026.jpg",
                "order_count": 0,
                "order_price": 0,
                "avatar_image": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2021/12/68a0a0cfdbaa5785ee764c1971887026.jpg",
                "username": "13*******20",
                "is_pay": 1,
                "create_time": "2022-04-15 14:09:16"
            }
        ],
        "first_page_url": "http://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://dev8.yunzmall.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 3,
        "total": 3,
        "paid_customer_count": 1,
        "all_customer_count": 4
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
paid_customer_count int 下单顾客人数
all_customer_count int 所有顾客人数
data[uid] int 会员ID
data[nickname] string 会员昵称
data[realname] string 姓名
data[mobile] string 手机号
data[order_count] int 订单数
data[order_price] float 绩效
data[avatar_image] string 头像图片
data[create_time] string 注册时间
data[is_pay] int 是否下单顾客 1是 0不是