获取即将到来的赛事
<p><strong>简要描述</strong>: 获取用户即将参与的赛事列表</p>
<p><strong>请求URL</strong>: <code>/api/miniapp/events/upcoming</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;: []
}</code></pre>
<p><strong>注意</strong>: 当没有即将到来的赛事时,返回空数组</p>