获取用户的所有比赛记录
<p><strong>简要描述</strong>: 获取用户的所有比赛记录</p>
<p><strong>请求URL</strong>: <code>/api/miniapp/events/all-matches</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;id&quot;: 4,
&quot;playerId&quot;: 1001,
&quot;matchDate&quot;: &quot;2024-12-15&quot;,
&quot;matchTime&quot;: &quot;19:30&quot;,
&quot;matchStage&quot;: &quot;常规赛&quot;,
&quot;opponentTeam&quot;: &quot;深圳队&quot;,
&quot;score&quot;: &quot;98:92&quot;,
&quot;result&quot;: &quot;胜&quot;,
&quot;matchPoints&quot;: 20,
&quot;playerName&quot;: &quot;张三&quot;,
&quot;eventName&quot;: &quot;CBA联赛&quot;,
&quot;representingTeam&quot;: &quot;北京队&quot;,
&quot;playTime&quot;: 40,
&quot;points&quot;: 20,
&quot;rebounds&quot;: 6,
&quot;assists&quot;: 4,
&quot;steals&quot;: 1,
&quot;blocks&quot;: 0,
&quot;twoPointMade&quot;: 2,
&quot;twoPointAttempted&quot;: 4,
&quot;threePointMade&quot;: 3,
&quot;threePointAttempted&quot;: 6,
&quot;freeThrowMade&quot;: 1,
&quot;freeThrowAttempted&quot;: 2,
&quot;offensiveRebounds&quot;: 2,
&quot;defensiveRebounds&quot;: 4,
&quot;turnovers&quot;: 3,
&quot;fouls&quot;: 4,
&quot;foulsDrawn&quot;: 2,
&quot;efficiency&quot;: 15.2,
&quot;gamePoints&quot;: 20,
&quot;teamId&quot;: 28,
&quot;assistantCoachId&quot;: 56,
&quot;assistantCoachName&quot;: &quot;和哇撒&quot;,
&quot;headCoachId&quot;: 36,
&quot;headCoachName&quot;: &quot;的分公司&quot;,
&quot;eventId&quot;: null,
&quot;matchRound&quot;: null,
&quot;opponentTeamId&quot;: null,
&quot;matchScore&quot;: null,
&quot;isWin&quot;: 0,
&quot;points_earned&quot;: null
}
]
}</code></pre>