geology


部门用户树形结构

<p><strong>简要描述:</strong> </p> <ul> <li>部门用户树形结构</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://172.18.0.234:8080/sms/userList</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</li> </ul> <p><strong>Header:</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td>.....</td> </tr> <tr> <td style="text-align: left;">Content-Type</td> <td>application/json</td> </tr> </tbody> </table> <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> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": null, "success": true, "result": [ { "id": 1, "parentId": 0, "name": "蟠龙水电公司", "phone": null, "isLeaf": false, "children": [ { "id": 1272357551869911041, "parentId": 1, "name": "修改用户名", "phone": "13550677906", "isLeaf": true, "children": null }, { "id": 1278911756520579073, "parentId": 1, "name": "test", "phone": "13550677908", "isLeaf": true, "children": null }, { "id": 2, "parentId": 1, "name": "工程部", "phone": null, "isLeaf": false, "children": [ { "id": 1278911833066627074, "parentId": 2, "name": "管理员修改用户信息", "phone": "13550677904", "isLeaf": true, "children": null }, { "id": 6, "parentId": 2, "name": "工程部二组", "phone": null, "isLeaf": false, "children": [ { "id": 1278592302918098945, "parentId": 6, "name": "修改用户名", "phone": "13550677903", "isLeaf": true, "children": null } ] }, { "id": 5, "parentId": 2, "name": "工程部一组", "phone": null, "isLeaf": true, "children": [] } ] }, { "id": 3, "parentId": 1, "name": "机电部", "phone": null, "isLeaf": false, "children": [ { "id": 7, "parentId": 3, "name": "机电部一组", "phone": null, "isLeaf": true, "children": [] }, { "id": 8, "parentId": 3, "name": "机电部二组", "phone": null, "isLeaf": true, "children": [] } ] }, { "id": 4, "parentId": 1, "name": "安全监管部", "phone": null, "isLeaf": true, "children": [] } ] } ] }</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;">isLeaf</td> <td style="text-align: left;">boolean</td> <td>是否叶子节点</td> </tr> <tr> <td style="text-align: left;">phone</td> <td style="text-align: left;">string</td> <td>手机号码</td> </tr> </tbody> </table>

页面列表

ITEM_HTML