活动搜索(内容与tile)
<p><strong>简要描述:</strong> </p>
<ul>
<li>活动搜索接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>activity/search</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
{
"code": 20000,
"data": {
"total": 2,
"activities": [
{
"_id": "5de7a936b3a88077986158be",
"activityId": 20,
"associationId": 3,
"title": "乒乓球",
"content": "4444444",
"beginDate": 1575475200001,
"endDate": 1576475200020,
"numPeople": 40,
"location": "操场",
"status": "doing",
"name": "乒乓球社",
"logoUrl": "https://raw.githubusercontent.com/schedule-front/EveryWeekRePort/master/week3/img/club-pingpong.jpg"
},
{
"_id": "5de7a810b3a88077986158bd",
"activityId": 19,
"associationId": 3,
"title": "乒乓球",
"content": "4444444",
"beginDate": 1575475200000,
"endDate": 1579640271713,
"numPeople": 40,
"location": "操场",
"status": "doing",
"name": "乒乓球社",
"logoUrl": "https://raw.githubusercontent.com/schedule-front/EveryWeekRePort/master/week3/img/club-pingpong.jpg"
}
]
}
}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>