获取已完成的赛事
<p><strong>简要描述</strong>: 获取用户已完成的赛事列表</p>
<p><strong>请求URL</strong>: <code>/api/miniapp/events/completed</code></p>
<p><strong>请求方式</strong>: <code>GET</code></p>
<p><strong>参数</strong>:</p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userId</td>
<td>1001</td>
<td>是</td>
<td>Long</td>
<td>用户ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong>:</p>
<pre><code class="language-json">{
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;eventId&quot;: 1,
&quot;eventName&quot;: &quot;比赛101&quot;,
&quot;level&quot;: 1,
&quot;city&quot;: &quot;1&quot;,
&quot;applyStart&quot;: &quot;2025-08-07&quot;,
&quot;applyEnd&quot;: &quot;2025-08-08&quot;,
&quot;eventStart&quot;: &quot;2025-08-09&quot;,
&quot;eventEnd&quot;: &quot;2025-08-08&quot;,
&quot;site&quot;: &quot;1&quot;,
&quot;principal&quot;: &quot;张三&quot;,
&quot;phone&quot;: 1,
&quot;cost&quot;: 1,
&quot;category&quot;: &quot;1&quot;,
&quot;picture&quot;: &quot;/profile/upload/2025/08/08/17ac43c57d3275457a4717bef4f07399_20250808231538A003.png&quot;,
&quot;hostUnit&quot;: &quot;1&quot;,
&quot;organizer&quot;: &quot;11&quot;,
&quot;state&quot;: 1,
&quot;top&quot;: 0,
&quot;userRole&quot;: 1,
&quot;userRoleDesc&quot;: &quot;球员&quot;,
&quot;teamName&quot;: &quot;溜冰队&quot;,
&quot;registrationTime&quot;: null,
&quot;registrationStatus&quot;: 1,
&quot;registrationStatusDesc&quot;: &quot;已通过&quot;
}
]
}</code></pre>