yougou

yougou


商品分类

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>商品分类</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://fangyc.net/api/v1/categories</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;">appid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>凭证</td> </tr> </tbody> </table> <h5>参数</h5> <p>无</p> <h5>返回示例</h5> <pre><code> { "status": 200, "data": { "cat_id": 1, "cat_name": "大家电", "cat_pid": 0, "cat_level": 1, "cat_deleted": false, "cat_icon": "", "children": [ { "cat_id": 2, "cat_name": "空调", "cat_pid": 1, "cat_level": 2, "cat_deleted": false, "cat_icon": "", "children":[ { "cat_id": 3, "cat_name": "变频空调", "cat_pid": 2, "cat_level": 3, "cat_deleted": false, "cat_icon": "", } ] } ] }, "message":"请求成功" }</code></pre>

页面列表

ITEM_HTML