黑名单
<h3><strong>简要描述:</strong></h3>
<h1>- 黑名单查询接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://../admin/blacklist/grid</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>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>telephone</td>
<td>否</td>
<td>string</td>
<td></td>
<td>手机号</td>
</tr>
<tr>
<td>page</td>
<td>是</td>
<td>int</td>
<td>1</td>
<td>初始页</td>
</tr>
<tr>
<td>limit</td>
<td>是</td>
<td>int</td>
<td>10</td>
<td>显示条数</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [{
&quot;id&quot;: 140,
&quot;telephone&quot;: &quot;18799999999&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;admin_id&quot;: 13,
&quot;import_stamp&quot;: &quot;2021-08-26 14:12:26&quot;
}],
&quot;count&quot;: 1
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>int</td>
<td>id</td>
</tr>
<tr>
<td>admin_id</td>
<td>int</td>
<td>用户id</td>
</tr>
<tr>
<td>telephone</td>
<td>string</td>
<td>手机号</td>
</tr>
<tr>
<td>remark</td>
<td>string</td>
<td>备注</td>
</tr>
<tr>
<td>import_stamp</td>
<td>string</td>
<td>添加日期</td>
</tr>
</tbody>
</table>
<h3><strong>简要描述:</strong></h3>
<h1>- 增加黑名单接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://../admin/blackList/add</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>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>telephone</td>
<td>是</td>
<td>string</td>
<td></td>
<td>手机号,多个号码需要换行,\n</td>
</tr>
<tr>
<td>remark</td>
<td>否</td>
<td>string</td>
<td></td>
<td>备注</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;&quot;,
&quot;data&quot;: 1
}</code></pre>
<h3><strong>简要描述:</strong></h3>
<h1>- 修改黑名单接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://../admin/blackList/edit</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>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>int</td>
<td></td>
<td>名单编号</td>
</tr>
<tr>
<td>telephone</td>
<td>是</td>
<td>string</td>
<td></td>
<td>手机号</td>
</tr>
<tr>
<td>remark</td>
<td>是</td>
<td>string</td>
<td></td>
<td>备注</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;&quot;,
&quot;data&quot;: 1
}</code></pre>
<h3><strong>简要描述:</strong></h3>
<h1>- 删除黑名单接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://../admin/blackList/remove</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>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>ids</td>
<td>是</td>
<td>string</td>
<td>例:1,2,3</td>
<td>编号,多个使用逗号分割</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;&quot;,
&quot;data&quot;: 1
}</code></pre>
<h3><strong>简要描述:</strong></h3>
<h1>- 导出黑名单</h1>
<p><strong>请求方式:</strong></p>
<ul>
<li><code>window.location =&quot;http://../blacklist/download?access_token=&quot; + access_token;</code></li>
</ul>