获取配置
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取系统的配置</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/config</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>get</p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: {
&quot;enum&quot;: {
&quot;virtual_extension_endreason_enum&quot;: [
{
&quot;name&quot;: &quot;关机&quot;,
&quot;value&quot;: &quot;关机&quot;
},
{
&quot;name&quot;: &quot;空号&quot;,
&quot;value&quot;: &quot;空号&quot;
},
{
&quot;name&quot;: &quot;来电提醒&quot;,
&quot;value&quot;: &quot;来电提醒&quot;
},
{
&quot;name&quot;: &quot;稍后再拨&quot;,
&quot;value&quot;: &quot;稍后再拨&quot;
},
{
&quot;name&quot;: &quot;停机&quot;,
&quot;value&quot;: &quot;停机&quot;
},
{
&quot;name&quot;: &quot;无法接通&quot;,
&quot;value&quot;: &quot;无法接通&quot;
},
{
&quot;name&quot;: &quot;正在通话中&quot;,
&quot;value&quot;: &quot;正在通话中&quot;
},
{
&quot;name&quot;: &quot;用户正忙&quot;,
&quot;value&quot;: &quot;用户正忙&quot;
},
{
&quot;name&quot;: &quot;用户拒接&quot;,
&quot;value&quot;: &quot;用户拒接&quot;
},
{
&quot;name&quot;: &quot;欠费&quot;,
&quot;value&quot;: &quot;欠费&quot;
},
{
&quot;name&quot;: &quot;无人应答&quot;,
&quot;value&quot;: &quot;无人应答&quot;
},
{
&quot;name&quot;: &quot;其他&quot;,
&quot;value&quot;: &quot;其他&quot;
}
]
}
}
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td>int</td>
<td>0成功 其他值表示失败</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td>string</td>
<td>操作信息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td>json</td>
<td>返回数据</td>
</tr>
<tr>
<td style="text-align: left;">data.enum</td>
<td>json</td>
<td>系统枚举</td>
</tr>
<tr>
<td style="text-align: left;">data.enum.virtual_extension_endreason_enum</td>
<td>array</td>
<td>二次拨号结果枚举</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>