学校专业详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>学校专业详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/School/GetMajorInfo</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>专业编号</td>
</tr>
</tbody>
</table>
<p><strong>header:</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;">access_token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>验签token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;:&quot;获取成功&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;id&quot;: 1,
&quot;name&quot;: &quot;马克思主义&quot;, //专业名称
&quot;grade_id&quot;: &quot;24&quot;,
&quot;grade_name&quot;: &quot;高级职业中学&quot;, //学历层次
&quot;intro&quot;: &quot;1111111111111&quot;,//简介
&quot;school_type&quot;: &quot;1&quot;,
&quot;school_type_name&quot;: &quot;综合类&quot;, //专业类型
&quot;keyword&quot;: &quot;中高职业一体化,企校联合&quot;,
&quot;enroll&quot;: &quot;计划招生100人&quot;,
&quot;pics&quot;: [ //详情图片
&quot;https://xxkcimg.oss-cn-hangzhou.aliyuncs.com/cover/2110120032510999.png&quot;
],
&quot;forward_reward&quot;: 0, //转发奖励津贴
&quot;teacher_id&quot;: 1, //老师编号
&quot;teacher_name&quot;: &quot;潘琪娜&quot;,
&quot;phone_no&quot;: &quot;18148988884&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>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>