游记评论最新前十
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询驴友回复游记的最新动态前10显示</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:9000/cmt/travels/comments/travelNodes</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>Get</li>
</ul>
<h5>参数</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code> {
"msg": "success",
"code": 200,
"data": [
{
"id": "63bf7ddd4feac4071256322c",
"travelId": 2,
"travelTitle": "每年都会有的广州情节",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-12 11:26:21",
"content": "我擦",
"refComment": null
},
{
"id": "63bf7d544feac4071256322b",
"travelId": null,
"travelTitle": null,
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-12 11:24:04",
"content": "我擦",
"refComment": null
},
{
"id": "63bd07bac15a1d6936eb35f5",
"travelId": 16,
"travelTitle": "游走在《请回答1988》的韩国|首尔、议政府、仁川的寻寻觅觅",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-10 14:37:46",
"content": "11",
"refComment": null
},
{
"id": "63bd01a6c15a1d6936eb35f4",
"travelId": 2,
"travelTitle": "每年都会有的广州情节",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 1,
"createTime": "2023-01-10 14:11:50",
"content": "33",
"refComment": {
"id": "63bd01a2c15a1d6936eb35f3",
"travelId": 2,
"travelTitle": "每年都会有的广州情节",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-10 14:11:46",
"content": "22",
"refComment": null
}
},
{
"id": "63bd01a2c15a1d6936eb35f3",
"travelId": 2,
"travelTitle": "每年都会有的广州情节",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-10 14:11:46",
"content": "22",
"refComment": null
},
{
"id": "63bd019ec15a1d6936eb35f2",
"travelId": 2,
"travelTitle": "每年都会有的广州情节",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-10 14:11:42",
"content": "111",
"refComment": null
},
{
"id": "63bd019ec15a1d6936eb35f1",
"travelId": 2,
"travelTitle": "每年都会有的广州情节",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-10 14:11:42",
"content": "111",
"refComment": null
},
{
"id": "63b2a0c2ce31847bced29da9",
"travelId": 5,
"travelTitle": "5月趣上海,非去不可",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-02 17:15:46",
"content": "<img src=\"/images/emoji/brands_v3/40@2x.png\"style=\"width: width:28px;\"/>测试评论2",
"refComment": null
},
{
"id": "63b2a08ace31847bced29da8",
"travelId": 5,
"travelTitle": "5月趣上海,非去不可",
"userId": 1,
"nickname": "xiaoliu",
"city": "成都",
"level": 1000,
"headImgUrl": "/images/default.jpg",
"type": 0,
"createTime": "2023-01-02 17:14:50",
"content": "123",
"refComment": null
}
]
}</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;">msg</td>
<td style="text-align: left;">String</td>
<td>返回结果说明</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">Integer</td>
<td>返回结果状态码</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">T</td>
<td>返回结果数据</td>
</tr>
</tbody>
</table>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>