查询所有教练员
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询所有教练员接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/coach/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<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;">pageNum</td>
<td style="text-align: left;">默认为1</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">默认为10</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页数量</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;total&quot;: 29,
&quot;rows&quot;: [
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3001,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: &quot;&quot;,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练一&quot;,
&quot;phone&quot;: &quot;13800138001&quot;,
&quot;gender&quot;: &quot;男&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;北京市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3002,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练二&quot;,
&quot;phone&quot;: &quot;13800138002&quot;,
&quot;gender&quot;: &quot;&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;天津市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3003,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练三&quot;,
&quot;phone&quot;: &quot;13800138003&quot;,
&quot;gender&quot;: &quot;女&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;石家庄市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3004,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练四&quot;,
&quot;phone&quot;: &quot;13800138004&quot;,
&quot;gender&quot;: &quot;男&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;太原市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3005,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练五&quot;,
&quot;phone&quot;: &quot;13800138005&quot;,
&quot;gender&quot;: &quot;&quot;,
&quot;ethnicity&quot;: &quot;蒙古族&quot;,
&quot;provinceCity&quot;: &quot;呼和浩特市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3006,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练六&quot;,
&quot;phone&quot;: &quot;13800138006&quot;,
&quot;gender&quot;: &quot;女&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;沈阳市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3007,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练七&quot;,
&quot;phone&quot;: &quot;13800138007&quot;,
&quot;gender&quot;: &quot;男&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;长春市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3008,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练八&quot;,
&quot;phone&quot;: &quot;13800138008&quot;,
&quot;gender&quot;: &quot;&quot;,
&quot;ethnicity&quot;: &quot;满族&quot;,
&quot;provinceCity&quot;: &quot;哈尔滨市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3009,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练九&quot;,
&quot;phone&quot;: &quot;13800138009&quot;,
&quot;gender&quot;: &quot;女&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;上海市&quot;,
&quot;provinceCityText&quot;: null
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 3010,
&quot;coachLevel&quot;: null,
&quot;coachResume&quot;: null,
&quot;idCardFront&quot;: null,
&quot;idCardBack&quot;: null,
&quot;photo1inch&quot;: null,
&quot;name&quot;: &quot;教练十&quot;,
&quot;phone&quot;: &quot;13800138010&quot;,
&quot;gender&quot;: &quot;男&quot;,
&quot;ethnicity&quot;: &quot;汉族&quot;,
&quot;provinceCity&quot;: &quot;南京市&quot;,
&quot;provinceCityText&quot;: null
}
],
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;查询成功&quot;
}</code></pre>
<h5>返回参数说明</h5>
<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;">total</td>
<td style="text-align: left;">integer</td>
<td>教练员总数</td>
</tr>
<tr>
<td style="text-align: left;">rows.id</td>
<td style="text-align: left;">long</td>
<td>教练员id</td>
</tr>
<tr>
<td style="text-align: left;">rows.name</td>
<td style="text-align: left;">string</td>
<td>教练员姓名</td>
</tr>
<tr>
<td style="text-align: left;">rows.phone</td>
<td style="text-align: left;">string</td>
<td>手机号</td>
</tr>
<tr>
<td style="text-align: left;">rows.ethnicity</td>
<td style="text-align: left;">string</td>
<td>民族</td>
</tr>
<tr>
<td style="text-align: left;">rows.gender</td>
<td style="text-align: left;">string</td>
<td>性别</td>
</tr>
<tr>
<td style="text-align: left;">rows.coachLevel</td>
<td style="text-align: left;">string</td>
<td>教练员等级</td>
</tr>
<tr>
<td style="text-align: left;">rows.coachResume</td>
<td style="text-align: left;">string</td>
<td>教练员履历</td>
</tr>
<tr>
<td style="text-align: left;">rows.provinceCity</td>
<td style="text-align: left;">string</td>
<td>所在省市</td>
</tr>
<tr>
<td style="text-align: left;">rows.idCardFront</td>
<td style="text-align: left;">string</td>
<td>身份证正面照片路径</td>
</tr>
<tr>
<td style="text-align: left;">rows.idCardBack</td>
<td style="text-align: left;">string</td>
<td>身份证反面照片路径</td>
</tr>
<tr>
<td style="text-align: left;">rows.photo1inch</td>
<td style="text-align: left;">string</td>
<td>1寸免冠照片路径</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">integer</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>无</td>
</tr>
</tbody>
</table>