4.0朋友圈分类-lh
<p><strong>简要描述:</strong> </p>
<ul>
<li>4.0朋友圈分类-lh</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/gylm/Sharefriend/v1/catelist</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST/GET </p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"code": 200,
"message": "SUCCESS",
"time": 1575801804,
"data": [
{
"cateId": 1,
"type": 1,
"name": "每日爆款",
"url": "",
"img": "",
"pid": 0,
"pids": "",
"child": [
{
"cateId": 4,
"type": 1,
"name": "精选",
"url": "",
"img": "",
"pid": 1,
"pids": "1",
"child": [
{
"cateId": 37,
"type": 3,
"name": "banner4",
"url": "http://gytest.gaoyong666.com/html/activity/double_Twelve.html",
"img": "http://img.gaoyong666.com/share_banner/2019-12-08/k3wqrt3k_5z6tza8mek4q5decb36ac0153.png",
"pid": 4,
"pids": "1-4",
"child": null
}
]
},
{
"cateId": 5,
"type": 1,
"name": "验货实拍",
"url": "",
"img": "",
"pid": 1,
"pids": "1",
"child": null
},
{
"cateId": 6,
"type": 1,
"name": "拼多多",
"url": "",
"img": "",
"pid": 1,
"pids": "1",
"child": [
{
"cateId": 35,
"type": 3,
"name": "banner6",
"url": "http://gytest.gaoyong666.com/html/activity/double_Twelve.html",
"img": "http://img.gaoyong666.com/share_banner/2019-12-08/k3wqr89k_ixmki3bu05r5decb34f10e6e.png",
"pid": 6,
"pids": "1-6",
"child": null
}
]
},
{
"cateId": 7,
"type": 1,
"name": "0元购",
"url": "",
"img": "",
"pid": 1,
"pids": "1",
"child": [
{
"cateId": 34,
"type": 3,
"name": "banner7",
"url": "http://gytest.gaoyong666.com/html/activity/double_Twelve.html",
"img": "http://img.gaoyong666.com/share_banner/2019-12-08/k3wqr0js_r8folfjigjp5decb345184f9.png",
"pid": 7,
"pids": "1-7",
"child": null
}
]
},
{
"cateId": 8,
"type": 1,
"name": "猫超",
"url": "",
"img": "",
"pid": 1,
"pids": "1",
"child": [
{
"cateId": 36,
"type": 3,
"name": "banner8",
"url": "http://gytest.gaoyong666.com/html/activity/double_Twelve.html",
"img": "http://img.gaoyong666.com/share_banner/2019-12-08/k3wqrcw8_11qsx1izrvit5decb35521b14.png",
"pid": 8,
"pids": "1-8",
"child": null
}
]
}
]
},
{
"cateId": 2,
"type": 1,
"name": "宣传素材",
"url": "",
"img": "",
"pid": 0,
"pids": "",
"child": [
{
"cateId": 9,
"type": 1,
"name": "拉新素材",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": [
{
"cateId": 9,
"type": 1,
"name": "全部",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": null
},
{
"cateId": 27,
"type": 2,
"name": "拉新活动",
"url": "",
"img": "",
"pid": 9,
"pids": "2-9",
"child": null
},
{
"cateId": 28,
"type": 2,
"name": "晒收入",
"url": "",
"img": "",
"pid": 9,
"pids": "2-9",
"child": null
},
{
"cateId": 29,
"type": 2,
"name": "线下地推",
"url": "",
"img": "",
"pid": 9,
"pids": "2-9",
"child": null
},
{
"cateId": 30,
"type": 2,
"name": "励志招商",
"url": "",
"img": "",
"pid": 9,
"pids": "2-9",
"child": null
}
]
},
{
"cateId": 10,
"type": 1,
"name": "官方动态",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": [
{
"cateId": 10,
"type": 1,
"name": "全部",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": null
},
{
"cateId": 24,
"type": 2,
"name": "淘宝",
"url": "",
"img": "",
"pid": 10,
"pids": "2-10",
"child": null
},
{
"cateId": 25,
"type": 2,
"name": "京东",
"url": "",
"img": "",
"pid": 10,
"pids": "2-10",
"child": null
},
{
"cateId": 26,
"type": 2,
"name": "拼多多",
"url": "",
"img": "",
"pid": 10,
"pids": "2-10",
"child": null
}
]
},
{
"cateId": 11,
"type": 1,
"name": "日签心语",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": [
{
"cateId": 11,
"type": 1,
"name": "全部",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": null
},
{
"cateId": 31,
"type": 2,
"name": "80后心语",
"url": "",
"img": "",
"pid": 11,
"pids": "2-11",
"child": null
},
{
"cateId": 32,
"type": 2,
"name": "90后心语",
"url": "",
"img": "",
"pid": 11,
"pids": "2-11",
"child": null
},
{
"cateId": 33,
"type": 2,
"name": "00后心语",
"url": "",
"img": "",
"pid": 11,
"pids": "2-11",
"child": null
}
]
},
{
"cateId": 12,
"type": 1,
"name": "主体活动",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": [
{
"cateId": 12,
"type": 1,
"name": "全部",
"url": "",
"img": "",
"pid": 2,
"pids": "2",
"child": null
},
{
"cateId": 21,
"type": 2,
"name": "主体活动1",
"url": "",
"img": "",
"pid": 12,
"pids": "2-12",
"child": null
},
{
"cateId": 22,
"type": 2,
"name": "主体活动2",
"url": "",
"img": "",
"pid": 12,
"pids": "2-12",
"child": null
},
{
"cateId": 23,
"type": 2,
"name": "主体活动3",
"url": "",
"img": "",
"pid": 12,
"pids": "2-12",
"child": null
}
]
}
]
},
{
"cateId": 3,
"type": 1,
"name": "商学院",
"url": "",
"img": "",
"pid": 0,
"pids": "",
"child": [
{
"cateId": 13,
"type": 1,
"name": "培训预告",
"url": "",
"img": "",
"pid": 3,
"pids": "3",
"child": [
{
"cateId": 13,
"type": 1,
"name": "全部",
"url": "",
"img": "",
"pid": 3,
"pids": "3",
"child": null
},
{
"cateId": 15,
"type": 2,
"name": "培训1",
"url": "",
"img": "",
"pid": 13,
"pids": "3-13",
"child": null
},
{
"cateId": 16,
"type": 2,
"name": "培训2",
"url": "",
"img": "",
"pid": 13,
"pids": "3-13",
"child": null
}
]
},
{
"cateId": 14,
"type": 1,
"name": "达人分享",
"url": "",
"img": "",
"pid": 3,
"pids": "3",
"child": [
{
"cateId": 14,
"type": 1,
"name": "全部",
"url": "",
"img": "",
"pid": 3,
"pids": "3",
"child": null
},
{
"cateId": 18,
"type": 2,
"name": "达人1",
"url": "",
"img": "",
"pid": 14,
"pids": "3-14",
"child": null
},
{
"cateId": 19,
"type": 2,
"name": "达人2",
"url": "",
"img": "",
"pid": 14,
"pids": "3-14",
"child": null
},
{
"cateId": 20,
"type": 2,
"name": "达人3",
"url": "",
"img": "",
"pid": 14,
"pids": "3-14",
"child": null
}
]
}
]
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">cateId</td>
<td style="text-align: left;">int</td>
<td>分类ID</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>类型 1.分类;2.标签;3.banner</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>名称</td>
</tr>
<tr>
<td style="text-align: left;">url</td>
<td style="text-align: left;">int</td>
<td>banner类型 支持的跳转地址</td>
</tr>
<tr>
<td style="text-align: left;">pid</td>
<td style="text-align: left;">int</td>
<td>上级ID</td>
</tr>
<tr>
<td style="text-align: left;">pids</td>
<td style="text-align: left;">string</td>
<td>所有上级ID</td>
</tr>
<tr>
<td style="text-align: left;">child</td>
<td style="text-align: left;">[]</td>
<td>集合</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>