专技天下(前台web端接口文档)

专技天下(前台web端接口文档)


推荐讲师——汪德宇

<p><strong>简要描述:</strong> </p> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/resource/web/author/recommendTeacher</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <p><strong>返回示例</strong></p> <pre><code>{ "data": [ { "video_cover": "", "birthday": "2019-01-14T08:20:41.000+0000", "role": 0, "education": "博士", "nation": "", "sex": 1, "idnumber": "222201818222222222", "description": "", "video": "", "title": "维京海盗", "smajor": "冒险团9级", "little_header": "", "name": "飞天小女警", "header": "", "tel": "1111111", "id": 2, "sorts": 2, "email": "" }, { "video_cover": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/propagandamapfd817f1f44ab4318b5f3e0d73dad460b.jpg?x-oss-process=style/authorpro", "birthday": "2019-01-14T08:13:00.000+0000", "role": 0, "education": "本科", "nation": "", "sex": 1, "idnumber": "110101198001010538", "description": "123", "video": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/video/authorvideo/1fcab6e8bb224611978fc49ca335eeeb.mp4", "title": "研究馆员", "smajor": "互联网技术", "little_header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphotoa35a0b8dc6dc4d8681e9c16cde7c3f06.jpg?x-oss-process=style/authorimg", "name": "奥特曼", "header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphotoa35a0b8dc6dc4d8681e9c16cde7c3f06.jpg?x-oss-process=style/authorimg", "tel": "13051913037", "id": 9, "sorts": 1, "email": "158547263@qq.com" }, { "video_cover": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/propagandamapfd817f1f44ab4318b5f3e0d73dad460b.jpg?x-oss-process=style/authorpro", "birthday": "2019-01-14T08:07:40.000+0000", "role": 0, "education": "本科", "nation": "", "sex": 1, "idnumber": "110101198001010539", "description": "123", "video": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/video/authorvideo/1fcab6e8bb224611978fc49ca335eeeb.mp4", "title": "研究馆员", "smajor": "互联网技术", "little_header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphotoa35a0b8dc6dc4d8681e9c16cde7c3f06.jpg?x-oss-process=style/authorimg", "name": "0123123", "header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphotoa35a0b8dc6dc4d8681e9c16cde7c3f06.jpg?x-oss-process=style/authorimg", "tel": "13051913037", "id": 10, "sorts": 0, "email": "158547263@qq.com" }, { "video_cover": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/propagandamapa36ab0e9cb3c402bbb7fd24b6d90f6fa.png?x-oss-process=style/authorpro", "birthday": "2000-09-03T03:00:00.000+0000", "role": 0, "education": "硕士", "nation": "汉族", "sex": 1, "idnumber": "11010119800101007X", "description": "&lt;p&gt;里卡多", "video": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/video/authorvideo/91c150f3d79d409ca328d350103cef56.mp4", "title": "教授", "smajor": "广播电视播音,中等专业学校教师,艺术专业", "little_header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphoto7fd2e3cdefad498b92efcd43a94c6dda.png?x-oss-process=style/authorimg", "name": "super卡卡sup", "header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphoto7fd2e3cdefad498b92efcd43a94c6dda.png?x-oss-process=style/authorimg", "tel": "15515151515", "id": 44, "sorts": 0, "email": "jjjjjlllh@qq.com" }, { "video_cover": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/propagandamap6d0f6145bc3c47408f53110787fbf091.jpg?x-oss-process=style/authorpro", "birthday": "1990-12-25T02:00:00.000+0000", "role": 0, "education": "博士", "nation": "维吾尔族", "sex": 1, "idnumber": "430681198604280013", "description": "&lt;p&gt;讲师介绍......&lt;/p&gt;", "video": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/video/authorvideo/dbf469a1cb334350bf6128b76a02e4c4.mp4", "title": "一级飞行机械员", "smajor": "一级飞行通信员", "little_header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphoto3727d69598f84c22801bc19f477d38c4.jpg?x-oss-process=style/authorimg", "name": "阿里巴巴风清扬马云", "header": "https://sxtx-author.oss-cn-beijing.aliyuncs.com/img/authorphoto3727d69598f84c22801bc19f477d38c4.jpg?x-oss-process=style/authorimg", "tel": "15200000001", "id": 45, "sorts": 0, "email": "15201448771@163.com" } ], "message": { "errinfo": "success", "errcode": 200 } }</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;">id</td> <td style="text-align: left;">int</td> <td>讲师id</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">string</td> <td>讲师名称</td> </tr> <tr> <td style="text-align: left;">role</td> <td style="text-align: left;">int</td> <td>角色id</td> </tr> <tr> <td style="text-align: left;">sex</td> <td style="text-align: left;">int</td> <td>性别 1-男 2-女</td> </tr> <tr> <td style="text-align: left;">smajor</td> <td style="text-align: left;">string</td> <td>专业领域名称</td> </tr> <tr> <td style="text-align: left;">education</td> <td style="text-align: left;">string</td> <td>学历</td> </tr> <tr> <td style="text-align: left;">title</td> <td style="text-align: left;">string</td> <td>职称</td> </tr> <tr> <td style="text-align: left;">header</td> <td style="text-align: left;">string</td> <td>头像</td> </tr> <tr> <td style="text-align: left;">little_header</td> <td style="text-align: left;">string</td> <td>头像小图</td> </tr> <tr> <td style="text-align: left;">idnumber</td> <td style="text-align: left;">string</td> <td>身份证号</td> </tr> <tr> <td style="text-align: left;">tel</td> <td style="text-align: left;">string</td> <td>手机号</td> </tr> <tr> <td style="text-align: left;">description</td> <td style="text-align: left;">string</td> <td>讲师介绍</td> </tr> <tr> <td style="text-align: left;">video</td> <td style="text-align: left;">string</td> <td>讲师介绍视频</td> </tr> <tr> <td style="text-align: left;">video_cover</td> <td style="text-align: left;">string</td> <td>视频封面图</td> </tr> <tr> <td style="text-align: left;">birthday</td> <td style="text-align: left;">date</td> <td>讲师生日</td> </tr> <tr> <td style="text-align: left;">email</td> <td style="text-align: left;">string</td> <td>讲师邮箱</td> </tr> <tr> <td style="text-align: left;">nation</td> <td style="text-align: left;">string</td> <td>民族名称</td> </tr> <tr> <td style="text-align: left;">sorts</td> <td style="text-align: left;">int</td> <td>排序序号</td> </tr> </tbody> </table> <p><strong>错误码说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">200</td> <td style="text-align: left;">访问正常</td> </tr> <tr> <td style="text-align: left;">404</td> <td style="text-align: left;">访问错误</td> </tr> </tbody> </table> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML