EAST-充电桩

EAST-新能源-充电桩


查询站桩枪树形列表

<p><strong>简要描述:</strong> </p> <ul> <li>查询站桩枪树形列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/dev/pile/tree</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <p><strong>返回示例</strong></p> <pre><code> { "code": 0, "msg": "success", "data": [ { "id": 1, "name": "站点名称3", "type": 1, "children": [ { "id": 1, "name": "充电桩1", "type": 2, "children": [ { "id": 1, "name": "1", "type": 3, "children": null }, { "id": 2, "name": "2", "type": 3, "children": null }, { "id": 3, "name": "3", "type": 3, "children": null } ] }, { "id": 2, "name": "222", "type": 2, "children": [ { "id": 4, "name": "1", "type": 3, "children": null } ] } ] }, { "id": 2, "name": "站点名称1", "type": 1, "children": [ { "id": null, "name": null, "type": 2, "children": [ { "id": null, "name": null, "type": 3, "children": null } ] } ] }, { "id": 9, "name": "站点名称2", "type": 1, "children": [ { "id": null, "name": null, "type": 2, "children": [ { "id": null, "name": null, "type": 3, "children": 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;">id</td> <td style="text-align: left;">Long</td> <td>对象ID</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;">type</td> <td style="text-align: left;">Integer</td> <td>对象类型,1站2桩3枪</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML