主题推荐
<p>[TOC]</p>
<h2>GET 主题推荐</h2>
<p>GET /article/strategies/themeCds</p>
<blockquote>
<p>返回示例</p>
<p>成功</p>
</blockquote>
<pre><code class="language-json">{
"msg": "success",
"code": 200,
"data": [
{
"themeName": "摄影",
"dests": [
{
"id": 21,
"name": "北京"
}
]
},
{
"themeName": "美食",
"dests": [
{
"id": 355,
"name": "广州"
},
{
"id": 29,
"name": "上海"
},
{
"id": 87,
"name": "东京"
}
]
},
{
"themeName": "旅行主义",
"dests": [
{
"id": 242,
"name": "杭州"
},
{
"id": 59,
"name": "纽约"
}
]
},
{
"themeName": "家庭",
"dests": [
{
"id": 450,
"name": "成都"
}
]
},
{
"themeName": "建筑",
"dests": [
{
"id": 16,
"name": "泰国"
}
]
},
{
"themeName": "必备",
"dests": [
{
"id": 29,
"name": "上海"
}
]
},
{
"themeName": "户外",
"dests": [
{
"id": 355,
"name": "广州"
}
]
},
{
"themeName": "文化",
"dests": [
{
"id": 355,
"name": "广州"
}
]
},
{
"themeName": "购物",
"dests": [
{
"id": 29,
"name": "上海"
}
]
}
]
}</code></pre>
<h3>返回结果</h3>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>themeName</td>
<td>string</td>
<td>主题名称</td>
</tr>
<tr>
<td>id</td>
<td>long</td>
<td>目的地id</td>
</tr>
<tr>
<td>name</td>
<td>string</td>
<td>目的地名称</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>状态码</th>
<th>状态码含义</th>
<th>说明</th>
<th>数据模型</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td>
<td>成功</td>
<td>Inline</td>
</tr>
</tbody>
</table>