简要描述:

请求域名:

  • http://xx.com

请求URL:

POST/plugin.customer-archive.frontend.customer-archive.get-list

参数:

参数名 是否必须 类型 说明
keyword string 关键字
search_type int 搜索类型, 1客户名称,2客户手机号,3项目名称,4老师名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "list": {
            "current_page": 1,
            "data": [
                {
                    "id": 2,
                    "name": "阿维",
                    "mobile": "13912192421",
                    "created_at": "2024-11-06 15:52:24",
                    "member_id": 1
                },
                {
                    "id": 1,
                    "name": "子鸟",
                    "mobile": "13912192421",
                    "created_at": "2024-11-06 15:49:53",
                    "member_id": 1
                }
            ],
            "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
            "links": [
                {
                    "url": null,
                    "label": "« 上一页",
                    "active": false
                },
                {
                    "url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "下一页 »",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http://www.shop777.com/addons/yun_shop/api.php",
            "per_page": 15,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        }
    }
}

返回参数说明:

参数名 类型 说明
name string 客户姓名
mobile int 客户手机