平台信息
<p><strong>简要描述:</strong></p>
<ul>
<li>
<h1>获取平台信息</h1>
</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://xx.com/super_admin/message</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<ul>
<li>无参</li>
</ul>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: {
&quot;osName&quot;: &quot;Linux&quot;,
&quot;disk&quot;: [{
&quot;path&quot;: &quot;/&quot;,
&quot;free&quot;: &quot;50.7 G&quot;,
&quot;usable&quot;: &quot;8.3 G&quot;,
&quot;total&quot;: &quot;59.0 G&quot;
}],
&quot;memory&quot;: {
&quot;total&quot;: &quot;7.8 G&quot;,
&quot;free&quot;: &quot;6.6 G&quot;,
&quot;usable&quot;: &quot;1.2 G&quot;
},
&quot;runTime&quot;: &quot;0 years, 0 days, 16 hours, 1 minute, 22 seconds&quot;,
&quot;totals&quot;: &quot;3313&quot;,
&quot;actives&quot;: &quot;1&quot;,
&quot;caps&quot;: &quot;0&quot;,
&quot;idleCpu&quot;: &quot;99.13&quot;,
&quot;concurrency&quot;: 1000,
&quot;authorization_seats&quot;: 1000,
&quot;use_period&quot;: &quot;2100-01-01&quot;,
&quot;service_period&quot;: &quot;2021-09-01&quot;,
&quot;registrations&quot;: &quot;0&quot;,
&quot;serial&quot;: &quot;c5a97c483574cad34f6dcc729db36cb1&quot;
}
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>osName</td>
<td>string</td>
<td>操作系统</td>
</tr>
<tr>
<td>disk</td>
<td>int</td>
<td>磁盘</td>
</tr>
<tr>
<td>—path</td>
<td>string</td>
<td>盘符路径</td>
</tr>
<tr>
<td>—free</td>
<td>string</td>
<td>未使用</td>
</tr>
<tr>
<td>—usable</td>
<td>string</td>
<td>已使用</td>
</tr>
<tr>
<td>—total</td>
<td>string</td>
<td>盘符总大小</td>
</tr>
<tr>
<td>memory</td>
<td>string</td>
<td>内存</td>
</tr>
<tr>
<td>—total</td>
<td>string</td>
<td>总内存</td>
</tr>
<tr>
<td>—free</td>
<td>string</td>
<td>未使用</td>
</tr>
<tr>
<td>—usable</td>
<td>string</td>
<td>已使用</td>
</tr>
<tr>
<td>runTime</td>
<td>string</td>
<td>系统运行时长</td>
</tr>
<tr>
<td>totals</td>
<td>string</td>
<td>累计会话</td>
</tr>
<tr>
<td>actives</td>
<td>string</td>
<td>实时会话</td>
</tr>
<tr>
<td>caps</td>
<td>string</td>
<td>每秒并发数</td>
</tr>
<tr>
<td>idleCpu</td>
<td>string</td>
<td>空闲CPU</td>
</tr>
<tr>
<td>concurrency</td>
<td>string</td>
<td>系统并发</td>
</tr>
<tr>
<td>authorization_seats</td>
<td>string</td>
<td>授权坐席数(个)</td>
</tr>
<tr>
<td>use_period</td>
<td>string</td>
<td>使用期限</td>
</tr>
<tr>
<td>service_period</td>
<td>string</td>
<td>服务期限</td>
</tr>
<tr>
<td>registrations</td>
<td>string</td>
<td>在线坐席数</td>
</tr>
<tr>
<td>serial</td>
<td>string</td>
<td>序列号</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>