商城品类树
<p><strong>简要描述:</strong> </p>
<ul>
<li>商城品类树</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/app/app-store/mall-cate</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>新增一个参数:</strong> </p>
<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;">customer_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>绑定客户ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: &quot;1&quot;,
&quot;name&quot;: &quot;第一级1&quot;,//品类名称
&quot;parent_id&quot;: &quot;0&quot;,
&quot;level&quot;: &quot;1&quot;,//等级
&quot;erp_cate_id&quot;: [],//对应的ERP品类ID
&quot;children&quot;: [//下级
{
&quot;id&quot;: &quot;5&quot;,
&quot;name&quot;: &quot;第二级1-1&quot;,
&quot;parent_id&quot;: &quot;1&quot;,
&quot;level&quot;: &quot;2&quot;,
&quot;erp_cate_id&quot;: [],
&quot;children&quot;: [
{
&quot;id&quot;: &quot;7&quot;,
&quot;name&quot;: &quot; 第三级1-1-1&quot;,
&quot;parent_id&quot;: &quot;5&quot;,
&quot;level&quot;: &quot;3&quot;,
&quot;erp_cate_id&quot;: [
&quot;281&quot;,
&quot;277&quot;
]
},
{
&quot;id&quot;: &quot;8&quot;,
&quot;name&quot;: &quot;第三级1-1-2&quot;,
&quot;parent_id&quot;: &quot;5&quot;,
&quot;level&quot;: &quot;3&quot;,
&quot;erp_cate_id&quot;: [
&quot;281&quot;
]
}
]
}
]
}
]
}</code></pre>