叁玖-saas


客户详情

简要描述:

  • 客户详情

请求URL:

  • pro /api/customer/detailCustomer

请求方式:

  • post

参数:

参数名 必选 类型 说明
cus_id int 客户id

返回示例

{
    "code": 200,
    "msg": "OK",
    "data": {
        "name": "客户111",
        "status": 0,
        "type": 1,
        "industry_id": 1,
        "depart_id": 33,
        "belong_id": 1,
        "address": "天津市东丽区",
        "created_at": "2022-06-08 11:33:00",
        "updated_at": "2022-06-10 17:52:00",
        "created_id": 22,
        "updated_id": 1,
        "belong_name": "zhangsan",
        "created_name": null,
        "update_name": "zhangsan",
        "group_name": null,
        "status_name": "启用",
        "customer_link_data": [
            {
                "id": 3,
                "customer_link_name": "敏敏",
                "tel": "17622350961",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": "财务1"
            },
            {
                "id": 4,
                "customer_link_name": "啦啦啦",
                "tel": "11111111111",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": "财务2"
            },
            {
                "id": 11,
                "customer_link_name": "测试",
                "tel": "1111111111",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": "测试"
            },
            {
                "id": 117,
                "customer_link_name": "敏敏",
                "tel": "17622350961",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": ""
            },
            {
                "id": 132,
                "customer_link_name": "敏敏",
                "tel": "1111111111111111111111",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": ""
            },
            {
                "id": 134,
                "customer_link_name": "敏敏",
                "tel": "1111111111111111111111111111",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": ""
            },
            {
                "id": 135,
                "customer_link_name": "敏敏",
                "tel": "111111123235645464",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": ""
            },
            {
                "id": 148,
                "customer_link_name": "敏敏",
                "tel": "17622350961",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": ""
            },
            {
                "id": 149,
                "customer_link_name": "敏敏",
                "tel": "17622350961",
                "industry_name": "物流行业",
                "department_name": null,
                "belong_name": "zhangsan",
                "position": ""
            }
        ]
    }
}

返回参数说明

参数名 类型 说明
code int 状态码 200-正常 非200都是异常
msg string 提示消息
data array 返回数据
name string 客户名称
status int 客户状态 0 未启用 1启用
type int 客户类型 '1合同客户 2非合同客户 3临时客户'
industry_id int 行业id
depart_id int 部门id
belong_id int 所属人id
customer_link_data array 客户联系人信息
id int 客户联系人id
customer_link_name array 客户联系人
tel int 客户联系人电话
industry_name string 行业名称
department_name string 部门名称
belong_name string 所属人名称
position string 职位名称

备注

  • 更多返回错误代码请看首页的错误代码描述.

页面列表

ITEM_HTML