001考试平台

考试平台


图片权限管理选择框

<h5>简要描述</h5> <ul> <li>图片权限管理选择框</li> </ul> <h5>请求URL</h5> <ul> <li><code>/VehiclePicManage/allUnits</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>请求示例</h5> <pre><code>unitType: 0</code></pre> <h5>请求参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">unitType</td> <td style="text-align: left;">否</td> <td>int</td> <td>单位类型(0:全部,1:当前用户的单位)默认是0</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     &amp;quot;code&amp;quot;: 200,     &amp;quot;msg&amp;quot;: &amp;quot;成功&amp;quot;,     &amp;quot;data&amp;quot;: [         {             &amp;quot;name&amp;quot;: &amp;quot;组织机构&amp;quot;,             &amp;quot;id&amp;quot;: &amp;quot;00000000000000000000000000000000&amp;quot;,             &amp;quot;type&amp;quot;: 0,             &amp;quot;nodeList&amp;quot;: [                 {                     &amp;quot;name&amp;quot;: &amp;quot;sdlkjaskd&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;2ee98b23809445a3ad309ca839282cf0&amp;quot;,                     &amp;quot;type&amp;quot;: 0                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;广东利通科技投资有限公司&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;5523668b8745464b98eeced0c3720e81&amp;quot;,                     &amp;quot;type&amp;quot;: 0,                     &amp;quot;nodeList&amp;quot;: [                         {                             &amp;quot;name&amp;quot;: &amp;quot;广东利通科技投资有限公司智能交通研究院&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;5996ca3bd389439a831c0c424d009eac&amp;quot;,                             &amp;quot;type&amp;quot;: 0,                             &amp;quot;nodeList&amp;quot;: [                                 {                                     &amp;quot;name&amp;quot;: &amp;quot;智慧收费研发部&amp;quot;,                                     &amp;quot;id&amp;quot;: &amp;quot;196a5333ca1046349db3de4e25e6dc37&amp;quot;,                                     &amp;quot;type&amp;quot;: 0                                 },                                 {                                     &amp;quot;name&amp;quot;: &amp;quot;数字交通研发部&amp;quot;,                                     &amp;quot;id&amp;quot;: &amp;quot;c681a8b95b3a4ed9a9c3b7276485524a&amp;quot;,                                     &amp;quot;type&amp;quot;: 0,                                     &amp;quot;nodeList&amp;quot;: [                                         {                                             &amp;quot;name&amp;quot;: &amp;quot;公共组件产品线&amp;quot;,                                             &amp;quot;id&amp;quot;: &amp;quot;178b42e4de694f5082f4a73039e9b56b&amp;quot;,                                             &amp;quot;type&amp;quot;: 0                                         },                                         {                                             &amp;quot;name&amp;quot;: &amp;quot;大数据应用产品线&amp;quot;,                                             &amp;quot;id&amp;quot;: &amp;quot;9278ebbab03242558137e19f74a9fb53&amp;quot;,                                             &amp;quot;type&amp;quot;: 0                                         },                                         {                                             &amp;quot;name&amp;quot;: &amp;quot;监控产品线&amp;quot;,                                             &amp;quot;id&amp;quot;: &amp;quot;d446e07cd59c427a83ac3a5e1379870b&amp;quot;,                                             &amp;quot;type&amp;quot;: 0                                         }                                     ]                                 },                                 {                                     &amp;quot;name&amp;quot;: &amp;quot;测hi是&amp;quot;,                                     &amp;quot;id&amp;quot;: &amp;quot;608cd35bce9745ccbc4dd96baad736b1&amp;quot;,                                     &amp;quot;type&amp;quot;: 1                                 }                             ]                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;广州新软计算机技术有限公司&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;883339541743403faded953161575f88&amp;quot;,                             &amp;quot;type&amp;quot;: 0                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;广东东方思维科技有限公司&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;a1384f530bf048848bcc8446f4901df3&amp;quot;,                             &amp;quot;type&amp;quot;: 0                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;广东新粤交通投资有限公司&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;fb4dfce95c8d4ec9b09a54bc02c0a071&amp;quot;,                             &amp;quot;type&amp;quot;: 0                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;测试上级&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;83fd637f084e4e1ca9ebcbd202b672f2&amp;quot;,                             &amp;quot;type&amp;quot;: 1                         }                     ]                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;测试bug公司&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;5dfe4297818a4d8e95eb16d53a02e850&amp;quot;,                     &amp;quot;type&amp;quot;: 0,                     &amp;quot;nodeList&amp;quot;: [                         {                             &amp;quot;name&amp;quot;: &amp;quot;憨憨&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;63b6261b01e84451bfc68d85e407bad2&amp;quot;,                             &amp;quot;type&amp;quot;: 0                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;寄罗&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;0a334dc1059b4f39bbe9cea749b24667&amp;quot;,                             &amp;quot;type&amp;quot;: 1                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;哦豁&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;af18e61638f34c93a138b21e2b59bff0&amp;quot;,                             &amp;quot;type&amp;quot;: 1                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;哎呦喂&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;b8e3b639bab24ad99da4e293402a8565&amp;quot;,                             &amp;quot;type&amp;quot;: 1                         }                     ]                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;研究院&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;9806baec4b3e4317b935d06aab5531d6&amp;quot;,                     &amp;quot;type&amp;quot;: 0                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;213123&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;bb07a277862f4a46ad00971c65b46484&amp;quot;,                     &amp;quot;type&amp;quot;: 0                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;智慧收费研发部&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;cb7d94459d3540a08c71743cb107357d&amp;quot;,                     &amp;quot;type&amp;quot;: 0                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;23232323&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;fdc3bf9f48b44d84825af001f6f1ac9f&amp;quot;,                     &amp;quot;type&amp;quot;: 0,                     &amp;quot;nodeList&amp;quot;: [                         {                             &amp;quot;name&amp;quot;: &amp;quot;测试用部门&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;f5484f59185049ddade2229bcbd67117&amp;quot;,                             &amp;quot;type&amp;quot;: 0                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;12345&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;17cc291a4d4e4fdb8b9e219f801f4201&amp;quot;,                             &amp;quot;type&amp;quot;: 1                         },                         {                             &amp;quot;name&amp;quot;: &amp;quot;54321&amp;quot;,                             &amp;quot;id&amp;quot;: &amp;quot;9de8bf63c3bd44d18a5b14f4cfa8d77e&amp;quot;,                             &amp;quot;type&amp;quot;: 1                         }                     ]                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;超级管理员&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;00000000222222222222222200000000&amp;quot;,                     &amp;quot;type&amp;quot;: 1                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;测试用户&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;8a1f16bf14b64b0d939775bba87cb42a&amp;quot;,                     &amp;quot;type&amp;quot;: 1                 },                 {                     &amp;quot;name&amp;quot;: &amp;quot;收费员&amp;quot;,                     &amp;quot;id&amp;quot;: &amp;quot;bf91325ae11947f5a90f45cd2aae0507&amp;quot;,                     &amp;quot;type&amp;quot;: 1                 }             ]         }     ] }</code></pre> <h5>返回参数说明</h5> <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;">name</td> <td style="text-align: left;">string</td> <td>用户名或者机构名</td> </tr> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">string</td> <td>用户id或者机构id</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">int</td> <td>类型(0是组织,1是用户)</td> </tr> <tr> <td style="text-align: left;">nodeList</td> <td style="text-align: left;">list</td> <td>子节点</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML