trip-cloud-project

用于测试合作开发的项目


返回一个字符串中的第一个敏感词

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>返回字符串中第一个敏感词</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:8700/filter/find</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST urlencoded</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">content</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>需要检查的字符串</td> </tr> </tbody> </table> <h5>有敏感词的返回示例</h5> <pre><code>POST http://localhost:8700/filter/find Content-Type: application/x-www-form-urlencoded content=北京 http://localhost:8700/filter/find &gt;&gt;&gt; 北京</code></pre> <h5>没有敏感词和没有content的返回示例</h5> <pre><code>POST http://localhost:8700/filter/find Content-Type: application/x-www-form-urlencoded content=这是一段文字 &lt;Response body is empty&gt;</code></pre>

页面列表

ITEM_HTML