ktn-go


获取标签

<p><strong>简要描述:</strong></p> <ul> <li>获取标签</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>/admin/get-tags</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</li> </ul> <p><strong>参数:</strong></p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>limit</td> <td>是</td> <td>string</td> <td>每页条数,默认10条</td> </tr> <tr> <td>page</td> <td>是</td> <td>string</td> <td>页数,默认从0页开始</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 200, "data": [ { "tagName": "热门", "tagClass": "layui-bg-blue", "_id": "5e5886e226ff7f5b9d13b655", }, // ... ], "total": 12, "msg": "查询tags成功!" }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>tagName</td> <td>String</td> <td>标签名称</td> </tr> <tr> <td>tagClass</td> <td>String</td> <td>标签类名</td> </tr> </tbody> </table> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML