新版03-04
<h5>简要描述</h5>
<ul>
<li>ppt9接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/twoStep</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>Authorization header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">参数值</th>
<th style="text-align: left;">类型</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Authorization</td>
<td style="text-align: left;">Bearer access_token</td>
<td style="text-align: left;">string</td>
</tr>
</tbody>
</table>
<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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;message&quot;: &quot;成功&quot;,
&quot;data&quot;: {
&quot;总体&quot;: {
&quot;cohabit_number&quot;: [
{
&quot;name&quot;: &quot;0位&quot;,
&quot;value&quot;: 3.9
},
{
&quot;name&quot;: &quot;1位&quot;,
&quot;value&quot;: 5.4
},
{
&quot;name&quot;: &quot;2位&quot;,
&quot;value&quot;: 27
},
{
&quot;name&quot;: &quot;3位&quot;,
&quot;value&quot;: 46.5
},
{
&quot;name&quot;: &quot;4位&quot;,
&quot;value&quot;: 10.2
},
{
&quot;name&quot;: &quot;5位及以上&quot;,
&quot;value&quot;: 6.9
}
],
&quot;cohabit_people&quot;: [
{
&quot;name&quot;: &quot;配偶&quot;,
&quot;value&quot;: 81.7
},
{
&quot;name&quot;: &quot;子女&quot;,
&quot;value&quot;: 68.8
},
{
&quot;name&quot;: &quot;父母&quot;,
&quot;value&quot;: 10.5
},
{
&quot;name&quot;: &quot;其他&quot;,
&quot;value&quot;: 1.5
},
{
&quot;name&quot;: &quot;亲属&quot;,
&quot;value&quot;: 0.9
},
{
&quot;name&quot;: &quot;爷奶&quot;,
&quot;value&quot;: 0.3
}
],
&quot;child_number&quot;: [
{
&quot;name&quot;: &quot;1个孩子&quot;,
&quot;value&quot;: 69.4
},
{
&quot;name&quot;: &quot;2个孩子&quot;,
&quot;value&quot;: 9.3
}
],
&quot;home_position&quot;: [
{
&quot;name&quot;: &quot;城市偏远区域&quot;,
&quot;value&quot;: 6.6
},
{
&quot;name&quot;: &quot;城市的次中心区和非中心区&quot;,
&quot;value&quot;: 63.7
},
{
&quot;name&quot;: &quot;市中心繁华地段&quot;,
&quot;value&quot;: 29.7
}
],
&quot;home_type&quot;: [
{
&quot;name&quot;: &quot;商品房&quot;,
&quot;value&quot;: 0.3
},
{
&quot;name&quot;: &quot;公寓&quot;,
&quot;value&quot;: 8.7
},
{
&quot;name&quot;: &quot;别墅&quot;,
&quot;value&quot;: 0.3
},
{
&quot;name&quot;: &quot;普通单元式住宅&quot;,
&quot;value&quot;: 79.6
},
{
&quot;name&quot;: &quot;洋房&quot;,
&quot;value&quot;: 3.6
},
{
&quot;name&quot;: &quot;自建房&quot;,
&quot;value&quot;: 7.5
}
]
},
&quot;主分析纬度&quot;: {
&quot;cohabit_number&quot;: [
{
&quot;name&quot;: &quot;0位&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;1位&quot;,
&quot;value&quot;: 6.7
},
{
&quot;name&quot;: &quot;2位&quot;,
&quot;value&quot;: 40
},
{
&quot;name&quot;: &quot;3位&quot;,
&quot;value&quot;: 33.3
},
{
&quot;name&quot;: &quot;4位&quot;,
&quot;value&quot;: 16.7
}
],
&quot;cohabit_people&quot;: [
{
&quot;name&quot;: &quot;配偶&quot;,
&quot;value&quot;: 90
},
{
&quot;name&quot;: &quot;子女&quot;,
&quot;value&quot;: 63.3
},
{
&quot;name&quot;: &quot;父母&quot;,
&quot;value&quot;: 10
},
{
&quot;name&quot;: &quot;其他&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;亲属&quot;,
&quot;value&quot;: 3.3
}
],
&quot;child_number&quot;: [
{
&quot;name&quot;: &quot;1个孩子&quot;,
&quot;value&quot;: 56.7
},
{
&quot;name&quot;: &quot;2个孩子&quot;,
&quot;value&quot;: 10
}
],
&quot;home_position&quot;: [
{
&quot;name&quot;: &quot;城市偏远区域&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;城市的次中心区和非中心区&quot;,
&quot;value&quot;: 73.3
},
{
&quot;name&quot;: &quot;市中心繁华地段&quot;,
&quot;value&quot;: 23.3
}
],
&quot;home_type&quot;: [
{
&quot;name&quot;: &quot;公寓&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;普通单元式住宅&quot;,
&quot;value&quot;: 80
},
{
&quot;name&quot;: &quot;洋房&quot;,
&quot;value&quot;: 10
},
{
&quot;name&quot;: &quot;自建房&quot;,
&quot;value&quot;: 6.7
}
]
},
&quot;次纬度分析&quot;: {
&quot;cohabit_number&quot;: [
{
&quot;name&quot;: &quot;0位&quot;,
&quot;value&quot;: 4.1
},
{
&quot;name&quot;: &quot;1位&quot;,
&quot;value&quot;: 6.2
},
{
&quot;name&quot;: &quot;2位&quot;,
&quot;value&quot;: 25.1
},
{
&quot;name&quot;: &quot;3位&quot;,
&quot;value&quot;: 46.9
},
{
&quot;name&quot;: &quot;4位&quot;,
&quot;value&quot;: 9.5
},
{
&quot;name&quot;: &quot;5位及以上&quot;,
&quot;value&quot;: 8.2
}
],
&quot;cohabit_people&quot;: [
{
&quot;name&quot;: &quot;配偶&quot;,
&quot;value&quot;: 79.4
},
{
&quot;name&quot;: &quot;子女&quot;,
&quot;value&quot;: 67.5
},
{
&quot;name&quot;: &quot;父母&quot;,
&quot;value&quot;: 10.7
},
{
&quot;name&quot;: &quot;其他&quot;,
&quot;value&quot;: 1.6
},
{
&quot;name&quot;: &quot;爷奶&quot;,
&quot;value&quot;: 0.4
},
{
&quot;name&quot;: &quot;亲属&quot;,
&quot;value&quot;: 0.4
}
],
&quot;child_number&quot;: [
{
&quot;name&quot;: &quot;1个孩子&quot;,
&quot;value&quot;: 70
},
{
&quot;name&quot;: &quot;2个孩子&quot;,
&quot;value&quot;: 9.5
}
],
&quot;home_position&quot;: [
{
&quot;name&quot;: &quot;城市偏远区域&quot;,
&quot;value&quot;: 4.9
},
{
&quot;name&quot;: &quot;城市的次中心区和非中心区&quot;,
&quot;value&quot;: 63.4
},
{
&quot;name&quot;: &quot;市中心繁华地段&quot;,
&quot;value&quot;: 31.7
}
],
&quot;home_type&quot;: [
{
&quot;name&quot;: &quot;商品房&quot;,
&quot;value&quot;: 0.4
},
{
&quot;name&quot;: &quot;公寓&quot;,
&quot;value&quot;: 9.5
},
{
&quot;name&quot;: &quot;普通单元式住宅&quot;,
&quot;value&quot;: 80.2
},
{
&quot;name&quot;: &quot;洋房&quot;,
&quot;value&quot;: 2.9
},
{
&quot;name&quot;: &quot;自建房&quot;,
&quot;value&quot;: 7
}
]
},
&quot;飞度&quot;: {
&quot;cohabit_number&quot;: [
{
&quot;name&quot;: &quot;0位&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;1位&quot;,
&quot;value&quot;: 6.7
},
{
&quot;name&quot;: &quot;2位&quot;,
&quot;value&quot;: 40
},
{
&quot;name&quot;: &quot;3位&quot;,
&quot;value&quot;: 33.3
},
{
&quot;name&quot;: &quot;4位&quot;,
&quot;value&quot;: 16.7
}
],
&quot;cohabit_people&quot;: [
{
&quot;name&quot;: &quot;配偶&quot;,
&quot;value&quot;: 90
},
{
&quot;name&quot;: &quot;子女&quot;,
&quot;value&quot;: 63.3
},
{
&quot;name&quot;: &quot;父母&quot;,
&quot;value&quot;: 10
},
{
&quot;name&quot;: &quot;其他&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;亲属&quot;,
&quot;value&quot;: 3.3
}
],
&quot;child_number&quot;: [
{
&quot;name&quot;: &quot;1个孩子&quot;,
&quot;value&quot;: 56.7
},
{
&quot;name&quot;: &quot;2个孩子&quot;,
&quot;value&quot;: 10
}
],
&quot;home_position&quot;: [
{
&quot;name&quot;: &quot;城市偏远区域&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;城市的次中心区和非中心区&quot;,
&quot;value&quot;: 73.3
},
{
&quot;name&quot;: &quot;市中心繁华地段&quot;,
&quot;value&quot;: 23.3
}
],
&quot;home_type&quot;: [
{
&quot;name&quot;: &quot;公寓&quot;,
&quot;value&quot;: 3.3
},
{
&quot;name&quot;: &quot;普通单元式住宅&quot;,
&quot;value&quot;: 80
},
{
&quot;name&quot;: &quot;洋房&quot;,
&quot;value&quot;: 10
},
{
&quot;name&quot;: &quot;自建房&quot;,
&quot;value&quot;: 6.7
}
]
}
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>状态码</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td>消息提示</td>
</tr>
<tr>
<td style="text-align: left;">cohabit_number</td>
<td style="text-align: left;">array</td>
<td>同住人数</td>
</tr>
<tr>
<td style="text-align: left;">cohabit_people</td>
<td style="text-align: left;">array</td>
<td>同住人</td>
</tr>
<tr>
<td style="text-align: left;">child_number</td>
<td style="text-align: left;">array</td>
<td>孩子数量</td>
</tr>
<tr>
<td style="text-align: left;">home_position</td>
<td style="text-align: left;">array</td>
<td>小区位置</td>
</tr>
<tr>
<td style="text-align: left;">home_type</td>
<td style="text-align: left;">array</td>
<td>住宅类型</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>