搜索课表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>搜索课表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8088/user/course-search</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;">year</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>学年</td>
</tr>
<tr>
<td style="text-align: left;">season</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>季节</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: null,
&quot;data&quot;: [
{
&quot;createTime&quot;: null,
&quot;updateTime&quot;: null,
&quot;isDelete&quot;: false,
&quot;id&quot;: 3,
&quot;day&quot;: 1,
&quot;type&quot;: &quot;软件实验室&quot;,
&quot;room&quot;: &quot;731&quot;,
&quot;section&quot;: &quot;1-2&quot;,
&quot;course&quot;: &quot;c语言程序&quot;,
&quot;year&quot;: 2022,
&quot;season&quot;: 2,
&quot;teacher&quot;: &quot;123&quot;,
&quot;className&quot;: &quot;20软工2&quot;,
&quot;start&quot;: 1,
&quot;end&quot;: 8
},
{
&quot;createTime&quot;: null,
&quot;updateTime&quot;: null,
&quot;isDelete&quot;: false,
&quot;id&quot;: 5,
&quot;day&quot;: 1,
&quot;type&quot;: &quot;软件实验室&quot;,
&quot;room&quot;: &quot;732&quot;,
&quot;section&quot;: &quot;1-2&quot;,
&quot;course&quot;: &quot;c语言程序&quot;,
&quot;year&quot;: 2022,
&quot;season&quot;: 2,
&quot;teacher&quot;: &quot;123&quot;,
&quot;className&quot;: &quot;20软工1&quot;,
&quot;start&quot;: 1,
&quot;end&quot;: 8
}
]
}</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;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>