豪猪平台


释放手机号

<p>[TOC]</p> <h3>1. 释放指定手机号</h3> <ul> <li>更新时间:2022年10月12日 20时30分20秒</li> </ul> <p><strong>请求URL </strong></p> <ul> <li><code>https://服务器地址/sms/?api=cancelRecv&amp;amp;token=用户令牌&amp;amp;sid=项目ID&amp;amp;phone=手机号</code></li> </ul> <p><strong>请求方式</strong></p> <ul> <li>GET/POST</li> </ul> <p><strong>参数</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td style="text-align: left;">令牌</td> </tr> <tr> <td style="text-align: left;">sid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td style="text-align: left;">项目ID</td> </tr> <tr> <td style="text-align: left;">phone</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td style="text-align: left;">手机号</td> </tr> </tbody> </table> <p><strong>返回成功示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;null&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;释放成功&amp;quot; }</code></pre> <p><strong>返回参数说明 </strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td>状态码,code=0为成功,code=-1为失败</td> </tr> <tr> <td style="text-align: left;">data</td> <td>-</td> </tr> <tr> <td style="text-align: left;">msg</td> <td>描述</td> </tr> </tbody> </table> <p><strong>备注 </strong></p> <ul> <li>code=0或200为成功,code=-1为失败</li> </ul> <hr /> <hr /> <hr /> <hr /> <h3>2. 释放全部手机号</h3> <ul> <li>释放全部手机号</li> </ul> <p><strong>请求URL </strong></p> <ul> <li><code>http://服务器地址/sms/?api=cancelAllRecv&amp;amp;token=用户令牌</code></li> </ul> <p><strong>请求方式</strong></p> <ul> <li>GET/POST</li> </ul> <p><strong>参数</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td style="text-align: left;">令牌</td> </tr> </tbody> </table> <p><strong>返回成功示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: &amp;quot;200&amp;quot;, &amp;quot;data&amp;quot;: &amp;quot;null&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot; }</code></pre> <p><strong>返回参数说明 </strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td>状态码,code=0,code=其他为失败</td> </tr> <tr> <td style="text-align: left;">data</td> <td>-</td> </tr> <tr> <td style="text-align: left;">msg</td> <td>描述</td> </tr> </tbody> </table> <p><strong>备注 </strong></p> <ul> <li>code=0,code=其他为失败</li> </ul>

页面列表

ITEM_HTML