线索池列表数据

请求地址

/api/crm/client/clue

请求头

default-product-id: 具体的产品线id值

请求方法

POST

方法说明

获取线索池池列表数据

输入信息

字段 类型 必填 说明
mid bigint 客户模块id,固定为:347772778973233152
keyword string 模糊搜索关键字
scene_id bigint 场景id,默认为0,即不分场景
conditions object 查询条件
    xxx1
    xxx2
    xxx3
pager object 分页条件
    currentPage int 当前页
    pageSize int 每页条数

注意上面的xxxx1,xxxx2 为你系统里该模块的表单字段,请根据实际情况填写, 开发时,可打开浏览器的调试模块,查询一次具体的模块数据,抓取相关的请求体即可

输入示例

{
    "mid": "347772778973233152",
    "keyword": "",
    "scene_id": "0",
    "conditions": {
        "phone":"1999999999"
    },
    "pager": {
        "currentPage": 1,
        "pageSize": 50,
        "totalResult": 10
    }
}

返回信息

字段 类型 说明
items array 列表数据
     data array 数据详情,参考客户返回数据
    currentPage int
    pageSize int
    total int

返回示例

{
    "code": 200,
    "data": {
        "items": {
            "current_page": 1,
            "data": [
                {
                    "id": "688340455590461440",
                    "title": "张三",
                    "created_id": {
                        "id": "1",
                        "name": "超级管理员",
                        "avatar_url": ""
                    },
                    "updated_id": {
                        "id": "1",
                        "name": "超级管理员",
                        "avatar_url": ""
                    },
                    "created_at": "2024-10-19 10:59:13",
                    "updated_at": "2024-10-19 10:59:35",
                    "own_id": [],
                    "last_own_id": {
                        "id": "1",
                        "name": "超级管理员",
                        "avatar_url": ""
                    },
                    "is_public": 1,
                    "last_seas_at": "2024-10-19 10:59:35",
                    "move_seas_times": 1,
                    "move_seas_type": 2,
                    "last_follow_log": null,
                    "last_follow_at": null,
                    "last_deal_at": null,
                    "last_deal_money": null,
                    "assign_at": "2024-10-19 10:59:13",
                    "deleted_at": null,
                    "deleted_id": [],
                    "deleted_reason": null,
                    "name": "张三",
                    "life_cycle_id": {
                        "id": "356016962364506112",
                        "name": "新客户",
                        "group_id": "356016794198081536",
                        "is_active": true,
                        "color": "#f37b1d",
                        "sort_num": 1,
                        "is_default": 1
                    },
                    "order_money": "0.0000",
                    "last_life_cycle_id": 0,
                    "source": {
                        "id": "484017950731272192",
                        "name": "熟人介绍",
                        "group_id": "356019519744901120",
                        "is_active": true,
                        "color": "#606266",
                        "sort_num": 200,
                        "is_default": 0
                    },
                    "note": "",
                    "phone": "13501801041",
                    "is_clue": 0,
                    "clue_user": [],
                    "next_follow_at": null,
                    "product_line_id": "688051545102614528",
                    "textarea_1680158327352": "",
                    "select_1680162080347": {
                        "id": "484020760956895232",
                        "name": "互联网",
                        "group_id": "482198197159067648",
                        "is_active": true,
                        "color": "#606266",
                        "sort_num": 150,
                        "is_default": 0
                    },
                    "input_1680509561692": "",
                    "is_lock": 0,
                    "clue_id_unique": "",
                    "api_setting_id": 0,
                    "api_platform": "",
                    "clue_ocpc_data": {
                        "value": [],
                        "display": ""
                    },
                    "first_assign_diff": "-",
                    "first_assign_time": null,
                    "clue_is_black": 0,
                    "tags": [],
                    "_team_info": false,
                    "_can_edit": true,
                    "_can_del": true,
                    "_flow": false,
                    "is_favorite": false,
                    "_coming_free": false,
                    "_left_days": 0,
                    "clue_is_assign": false,
                    "client_position": "seas",
                    "clientListAndSeas": null,
                    "_flow_node_name": null,
                    "_flow_status": null
                }
            ],
            "first_page_url": "",
            "from": 1,
            "last_page": 1,
            "last_page_url": "",
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "",
            "per_page": 50,
            "prev_page_url": null,
            "to": 1,
            "total": 1
        }
    },
    "message": ""
}
作者:admin  创建时间:2024-10-17 14:24
最后编辑:admin  更新时间:2024-10-19 12:15