trip-cloud-project

用于测试合作开发的项目


自定义关键词替换

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>自定义关键词替换</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:8700/filter/strs</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> <tr> <td style="text-align: left;">charcter</td> <td style="text-align: left;">是</td> <td style="text-align: left;">char</td> <td>用来替换脱敏的内容</td> </tr> </tbody> </table> <h5>有敏感词的返回示例</h5> <pre><code>POST http://localhost:8700/filter/strs Content-Type: application/x-www-form-urlencoded content=北京&amp;character=9 http://localhost:8700/filter/strs &gt;&gt;&gt; 99</code></pre> <h5>没有敏感词的返回示例</h5> <pre><code>POST http://localhost:8700/filter/strs Content-Type: application/x-www-form-urlencoded content=天津&amp;character=9 http://localhost:8700/filter/strs &gt;&gt;&gt; 天津</code></pre>

页面列表

ITEM_HTML