系统设置
<p><strong>简要描述:</strong></p>
<ul>
<li>
<h1>系统设置</h1>
</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://xx.com/super_admin/getSettings</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;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;auto_restart&quot;: true,
&quot;logo&quot;: &quot;PSCC&quot;,
&quot;firewall&quot;: true,
&quot;max_rows&quot;: 100000,
&quot;zip_days&quot;: 2,
&quot;callback_url&quot;: &quot;&quot;,
&quot;ext_length&quot;: 4,
&quot;serial&quot;: &quot;c5a97c483574cad34f6dcc729db36cb1&quot;,
&quot;illegal_call&quot;: 5,
&quot;register_failure&quot;: 5
}
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>concurrency</td>
<td>string</td>
<td>系统并发</td>
</tr>
<tr>
<td>authorization_seats</td>
<td>int</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>auto_restart</td>
<td>string</td>
<td>自动重启:该值为true时,每晚12点服务器将自动重启 ,true,false</td>
</tr>
<tr>
<td>logo</td>
<td>string</td>
<td>LOGO</td>
</tr>
<tr>
<td>firewall</td>
<td>string</td>
<td>sip防火墙,true,false</td>
</tr>
<tr>
<td>max_rows</td>
<td>string</td>
<td>操作条数:批次导入导出数据最大条数</td>
</tr>
<tr>
<td>zip_days</td>
<td>int</td>
<td>ZIP保存天数:录音下载ZIP文件保存天数</td>
</tr>
<tr>
<td>callback_url</td>
<td>string</td>
<td>回调地址</td>
</tr>
<tr>
<td>ext_length</td>
<td>int</td>
<td>工号长度</td>
</tr>
<tr>
<td>serial</td>
<td>string</td>
<td>序列号</td>
</tr>
<tr>
<td>illegal_call</td>
<td>string</td>
<td>非法呼叫:次</td>
</tr>
<tr>
<td>register_failure</td>
<td>string</td>
<td>非法注册:次</td>
</tr>
</tbody>
</table>
<p><strong>简要描述:</strong></p>
<ul>
<li>
<h1>更新设置</h1>
</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://xx.com/super_admin/editConfig</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>auto_restart</td>
<td>string</td>
<td>自动重启:该值为true时,每晚12点服务器将自动重启 ,true,false</td>
</tr>
<tr>
<td>firewall</td>
<td>string</td>
<td>sip防火墙,true,false</td>
</tr>
<tr>
<td>max_rows</td>
<td>string</td>
<td>操作条数:批次导入导出数据最大条数</td>
</tr>
<tr>
<td>zip_days</td>
<td>int</td>
<td>ZIP保存天数:录音下载ZIP文件保存天数</td>
</tr>
<tr>
<td>illegal_call</td>
<td>string</td>
<td>非法呼叫:次</td>
</tr>
<tr>
<td>register_failure</td>
<td>int</td>
<td>非法注册:次</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>