基本信息
<h5>简要描述</h5>
<ul>
<li>data</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>crm/customer/view2</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>客户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"id": 80291,
"name": "配件助手",
"short_name": "配件助手",
"helper_code": "PJZS",
"grade": 1,
"grade_name": "月结客户",客户等级
"channel_id": 1,
"channel_name": "客户渠道",客户渠道
"price_range": 2,
"price_range_name": "汽修厂会员",等级价格
"area_id": 1745,
"area_name": "配件助手",业务区域
"area_owner_name": "JM员工",业务负责人
"category": 0,
"category_name": "",类别
"contact": "法国官方",
"contact_number": "18223454444",
"contact_address": "",
"mobile": "",电话
"email": "",邮箱
"org_id": 183,
"org_name": "JM_测试",业务组织
"org_department_id": 398,
"org_department_name": "JM_测试",部门
"remark": "",备注
"contacts": [联系人
{
"id": "51656",
"customer_id": "80291",
"name": "法国官方",
"title": "ffff",
"sex": "1",
"call_name": "",
"mobile": "18223454444",
"tel": "fff",
"email": "",
"weixin": "cccw",
"hobby": "vhggg",
"address": "",
"roles": "",
"is_boss": "0",
"is_legal": "0",
"is_finance": "0",
"is_bind_wx": "0",
"is_helper": "0",
"is_default": "1",
"remark": "",
"created_at": "1597477250",
"updated_at": "1597477250",
"_roles": []
},
{
"id": "50697",
"customer_id": "80291",
"name": "",
"title": "",
"sex": "0",
"call_name": "",
"mobile": "",
"tel": "",
"email": "",
"weixin": "",
"hobby": "",
"address": "",
"roles": "0",
"is_boss": "0",
"is_legal": "0",
"is_finance": "0",
"is_bind_wx": "0",
"is_helper": "0",
"is_default": "0",
"remark": "",
"created_at": "1594954177",
"updated_at": "1594954177",
"_roles": []
}
],
"addresslist": [地址
{
"id": "1264",
"customer_id": "80291",
"name": "",
"contact": "",
"contact_number": "",
"region_code": "0",
"region_address": "",
"zip_code": "",
"address": "",
"transport": "",
"is_default": "1",
"created_at": "1594954177",
"updated_at": "1594954177"
}
],
"invoicelist": [],
"extend_infos": [自定义信息
{
"id": "3",
"customer_id": "80291",
"type": "1",
"item": "djdhdhdhdjhdhdhdhd ",
"content": "Sndhdhxhdbxbbd",
"created_at": "1597477597",
"updated_at": "1597477597"
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>