绑定分类
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>绑定分类</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/resources/cmfSelectApi/getResourcesSort</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>Get </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>{
"code": 200,
"data": [
{
"id": 1,
"name": "厂房面积",
"lv": 1,
"state": 0,
"pid": 2,
"field": "plantArea",
"sorts": [
{
"id": 2,
"name": "1000㎡以下",
"lv": null,
"state": null,
"pid": null,
"field": null,
"sorts": null
},
{
"id": 3,
"name": "1000-2000㎡",
"lv": null,
"state": null,
"pid": null,
"field": null,
"sorts": null
},
{
"id": 4,
"name": "2000-5000㎡",
"lv": null,
"state": null,
"pid": null,
"field": null,
"sorts": null
}
]
}
],
"message": "success"
}</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>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>