获取学生记录
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>根据年级id、专业id、班级id获取学生信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/admin/student/getStudents/{gradeId}/{majorId}/{classId}</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">gradeId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>年级id</td>
</tr>
<tr>
<td style="text-align: left;">majorId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>专业id</td>
</tr>
<tr>
<td style="text-align: left;">classId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>班级id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;sid&quot;:&quot;1238&quot;,
&quot;sname&quot;:&quot;张无忌&quot;,
&quot;sex&quot;:&quot;男&quot;,
&quot;tel&quot;:&quot;17828344556&quot;,
&quot;birthday&quot;:&quot;2002-12-3&quot;,
&quot;address&quot;:&quot;湖南省衡阳市&quot;,
&quot;className&quot;:&quot;软件本2002班&quot;,
&quot;gradeName&quot;:&quot;20级&quot;,
&quot;majorName&quot;:&quot;软件工程&quot;,
&quot;familyName&quot;:&quot;张三丰&quot;,
&quot;familyTel&quot;:&quot;18723781892&quot;,
},
{
&quot;sid&quot;:&quot;1238&quot;,
&quot;sname&quot;:&quot;张无忌&quot;,
&quot;sex&quot;:&quot;男&quot;,
&quot;tel&quot;:&quot;17828344556&quot;,
&quot;birthday&quot;:&quot;2002-12-3&quot;,
&quot;address&quot;:&quot;湖南省衡阳市&quot;,
&quot;className&quot;:&quot;软件本2002班&quot;,
&quot;gradeName&quot;:&quot;20级&quot;,
&quot;majorName&quot;:&quot;软件工程&quot;,
&quot;familyName&quot;:&quot;张三丰&quot;,
&quot;familyTel&quot;:&quot;18723781892&quot;,
},
{
&quot;sid&quot;:&quot;1238&quot;,
&quot;sname&quot;:&quot;张无忌&quot;,
&quot;sex&quot;:&quot;男&quot;,
&quot;tel&quot;:&quot;17828344556&quot;,
&quot;birthday&quot;:&quot;2002-12-3&quot;,
&quot;address&quot;:&quot;湖南省衡阳市&quot;,
&quot;className&quot;:&quot;软件本2002班&quot;,
&quot;gradeName&quot;:&quot;20级&quot;,
&quot;majorName&quot;:&quot;软件工程&quot;,
&quot;familyName&quot;:&quot;张三丰&quot;,
&quot;familyTel&quot;:&quot;18723781892&quot;,
},
{
&quot;sid&quot;:&quot;1238&quot;,
&quot;sname&quot;:&quot;张无忌&quot;,
&quot;sex&quot;:&quot;男&quot;,
&quot;tel&quot;:&quot;17828344556&quot;,
&quot;birthday&quot;:&quot;2002-12-3&quot;,
&quot;address&quot;:&quot;湖南省衡阳市&quot;,
&quot;className&quot;:&quot;软件本2002班&quot;,
&quot;gradeName&quot;:&quot;20级&quot;,
&quot;majorName&quot;:&quot;软件工程&quot;,
&quot;familyName&quot;:&quot;张三丰&quot;,
&quot;familyTel&quot;:&quot;18723781892&quot;,
},
],
&quot;message&quot;:&quot;成功&quot;,
&quot;total&quot;:&quot;20&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;">code</td>
<td style="text-align: left;">int</td>
<td>状态码</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">array</td>
<td>返回的数据</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td>描述信息</td>
</tr>
<tr>
<td style="text-align: left;">total</td>
<td style="text-align: left;">string</td>
<td>总记录条数</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>注意 :
className需要连接t_class表查出
gradeName需要连接t_grade表查出
majorName需要连接t_major表查出 </li>
</ul>