攻略评论管理
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>攻略评论管理</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:9000/strategyComments/StrategyCommentQuery</code></li>
<li><code>http://localhost:9000/strategyComments/delete</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
<li>POST </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;">keyword</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>高级查询参数</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>攻略</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"error_code": 200,
"msg": success,
"data": {
"content": [
{
"id": "63b24712f0c1102fc635ec05",
"travelId": 5,
"travelTitle": "5月趣上海,非去不可",
"userId": 13,
"nickname": "xiaoli",
"city": null,
"level": 0,
"headImgUrl": "http://localhost/images/default.jpg",
"type": 0,
"createTime": "2023-01-02 10:53:06",
"content": "<img src=\"/images/emoji/brands_v3/38@2x.png\"style=\"width: width:28px;\"/>111",
"refComment": null
},
.......]
}
"pageable": {
"sort": {
"unsorted": true,
"sorted": false,
"empty": true
},
"offset": 0,
"pageNumber": 0,
"pageSize": 10,
"paged": true,
"unpaged": false
},
"totalElements": 4,
"totalPages": 1,
"last": true,
"size": 10,
"number": 0,
"sort": {
"unsorted": true,
"sorted": false,
"empty": true
},
"numberOfElements": 4,
"first": true,
"empty": false
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>