终端-获取终端身份的类型
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=9c2f4323a21eb65aaef944b0932d56ce" alt="" />
[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取终端身份的类型</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8082/identity/terminal-type</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get </li>
</ul>
<h5>参数</h5>
<p>|参数名|必选|类型|说明|</p>
<h5>返回示例</h5>
<pre><code>{
"status": 200,
"msg": "OK",
"data": [
{
"className": "数据库服务器",
"id": 10
},
{
"className": "应用服务器",
"id": 11
},
{
"className": "IT管理终端",
"id": 12
},
{
"className": "操作终端",
"id": 13
},
{
"className": "VPN接入",
"id": 14
},
{
"className": "互联网接入",
"id": 15
},
{
"className": "其他终端",
"id": 16
},
{
"className": "未确定的终端设备",
"id": 31
},
{
"className": "可信终端",
"id": 33
}
]
}</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;">id</td>
<td style="text-align: left;">Long</td>
<td>终端类别的id</td>
</tr>
<tr>
<td style="text-align: left;">className</td>
<td style="text-align: left;">Long</td>
<td>终端类型的名称</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>