百校在线

一款教育软件


学校专业详情

<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> { &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;:&amp;quot;获取成功&amp;quot;, &amp;quot;description&amp;quot;: &amp;quot;&amp;quot;,     &amp;quot;data&amp;quot;: { &amp;quot;id&amp;quot;: 1, &amp;quot;name&amp;quot;: &amp;quot;马克思主义&amp;quot;, //专业名称 &amp;quot;grade_id&amp;quot;: &amp;quot;24&amp;quot;, &amp;quot;grade_name&amp;quot;: &amp;quot;高级职业中学&amp;quot;, //学历层次 &amp;quot;intro&amp;quot;: &amp;quot;1111111111111&amp;quot;,//简介 &amp;quot;school_type&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;school_type_name&amp;quot;: &amp;quot;综合类&amp;quot;, //专业类型 &amp;quot;keyword&amp;quot;: &amp;quot;中高职业一体化,企校联合&amp;quot;, &amp;quot;enroll&amp;quot;: &amp;quot;计划招生100人&amp;quot;, &amp;quot;pics&amp;quot;: [ //详情图片             &amp;quot;https://xxkcimg.oss-cn-hangzhou.aliyuncs.com/cover/2110120032510999.png&amp;quot;         ], &amp;quot;forward_reward&amp;quot;: 0, //转发奖励津贴 &amp;quot;teacher_id&amp;quot;: 1, //老师编号 &amp;quot;teacher_name&amp;quot;: &amp;quot;潘琪娜&amp;quot;, &amp;quot;phone_no&amp;quot;: &amp;quot;18148988884&amp;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>

页面列表

ITEM_HTML