名师详细信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>单个名师信息</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/teacher/{id}</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": "success",
"data": {
"id": 16,
"name": "三棵树组合老师",
"brief": "是否嘀咕嘀咕",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1537423251169.png",
"created_at": "2018-09-20 14:01:26",
"user_id": 42,
"tags": [
{
"id": 21,
"name": "正课"
}
],
"info": [
{
"id": 35,
"teacher_id": 16,
"subject": "第一颗",
"content": "543534534",
"created_at": "2018-09-20 14:01:26"
},
{
"id": 36,
"teacher_id": 16,
"subject": "第二颗",
"content": "的是发射点发生",
"created_at": "2018-09-20 14:01:26"
},
{
"id": 37,
"teacher_id": 16,
"subject": "第三课",
"content": "士大夫但是f",
"created_at": "2018-09-20 14:01:26"
}
],
"mappings": [
{
"id": 13,
"name": "钮祜禄 · 甄嬛",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595917582.png"
},
{
"id": 12,
"name": "小姐姐",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535596280820.png"
},
{
"id": 10,
"name": "Dora(陶君文)",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535006217062.png"
},
{
"id": 9,
"name": "默认名师",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595855581.png"
},
{
"id": 8,
"name": "lucubrate",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535006325647.png"
},
{
"id": 7,
"name": "李虹",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595440093.png"
},
{
"id": 6,
"name": "lucy",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595529605.png"
},
{
"id": 5,
"name": "Zoe",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595543399.png"
},
{
"id": 4,
"name": "许乃夫",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595558070.png"
},
{
"id": 3,
"name": "郑秀晶(Krystal)",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535596042473.png"
},
{
"id": 2,
"name": "杨芮",
"avatar": "http://weteach-stage.ufile.ucloud.com.cn/teacher/1535595581005.png"
}
],
"user": {
"nickname": "fafrei",
"id": 42
}
},
"message": "操作成功",
"ct": 1539846788
}</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>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!欢迎使用ShowDoc!</p>