查看年级列表接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>查看目前所有的年级列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/Tutor-distribution/tutorAssign/public/index/DepartmentHeadTutor/gradeList.html</code></li>
<li>JS请求:<code>{{$Think.const.PREFIX}}/DepartmentHeadTutor/gradeList</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td>无需请求参数</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;gid&quot;: 1,
&quot;grade&quot;: &quot;2014&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;">gid</td>
<td style="text-align: left;">int</td>
<td>年级编号</td>
</tr>
<tr>
<td style="text-align: left;">grade</td>
<td style="text-align: left;">char</td>
<td>年级</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>返回最新5年的年级列表</li>
</ul>