大学长

大学长接口


徐坤帅-获取讲师头部信息-20180710

<p><strong>简要描述:</strong> </p> <ul> <li>获取讲师头部信息</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 style="text-align: left;">日期</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">0.1</td> <td style="text-align: left;">新</td> <td style="text-align: left;">徐坤帅</td> <td style="text-align: left;">20180710</td> </tr> </tbody> </table> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://123.206.94.205:8080/web-api/lecturerheadInfo</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;">lecturerId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Integer</td> <td>讲师id</td> </tr> <tr> <td style="text-align: left;">userId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">userId</td> <td>用户id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;Ok&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;nike_name&amp;quot;: &amp;quot;1&amp;quot;,//昵称 &amp;quot;fans_count&amp;quot;: &amp;quot;&amp;quot;,//粉丝数 &amp;quot;province&amp;quot;: &amp;quot;1&amp;quot;,//省 &amp;quot;city&amp;quot;: &amp;quot;1&amp;quot;,//市 &amp;quot;article_count&amp;quot;: &amp;quot;&amp;quot;,//文章数 &amp;quot;head_img&amp;quot;: &amp;quot;/static/img/pay_23.0ce30c7.png&amp;quot;,//头像地址 &amp;quot;approve_status&amp;quot;: 0,//认证状态 1申请中 2成功 3失败' &amp;quot;memo&amp;quot;: &amp;quot;&amp;quot;,//简介 &amp;quot;created_at&amp;quot;: &amp;quot;2018-06-28 11:21:14&amp;quot;,//创建时间 &amp;quot;title&amp;quot;: &amp;quot;&amp;quot;,//头衔 &amp;quot;course_count&amp;quot;: &amp;quot;&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>状态码</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;">data</td> <td style="text-align: left;">Obj</td> <td>数据</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML