我的战报
<p><strong>简要描述:</strong> </p>
<ul>
<li>我的战报</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/order/reportByUser</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;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>用户ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;:200,
&quot;msg&quot;:&quot;&quot;,
&quot;data&quot;:{
&quot;orderCount&quot;:20,
&quot;orderCommission&quot;:20,
&quot;rewardMoney&quot;:20,
&quot;money&quot;:5,
&quot;userInfo&quot;:{
&quot;userName&quot;:&quot;xx&quot;,
&quot;head&quot;:&quot;xxxx&quot;
}
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>成功:200</td>
</tr>
<tr>
<td style="text-align: left;">orderCount</td>
<td style="text-align: left;">int</td>
<td>订单数量</td>
</tr>
<tr>
<td style="text-align: left;">orderCommission</td>
<td style="text-align: left;">decimal</td>
<td>完成订单佣金</td>
</tr>
<tr>
<td style="text-align: left;">rewardMoney</td>
<td style="text-align: left;">decimal</td>
<td>奖励总额</td>
</tr>
<tr>
<td style="text-align: left;">money</td>
<td style="text-align: left;">decimal</td>
<td>一个订单奖励金额</td>
</tr>
<tr>
<td style="text-align: left;">userInfo.userName</td>
<td style="text-align: left;">String</td>
<td>用户名称</td>
</tr>
<tr>
<td style="text-align: left;">userInfo.head</td>
<td style="text-align: left;">String</td>
<td>用户头像</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>