jiaozijun

Update 暴露给客户端的接口.md

... ... @@ -503,4 +503,74 @@ Response:
"returnCode": 200,
"returnMsg": "success"
}
```
# 10.新首页获取视频点评信息
>
接口地址:fishcard/appraise/{studentId}/medalInfoByStudentId
请求方式:GET
Request params:
|参数名 |是否必须 |说明 |参数类型 |
|--------------|----------|--------|----------|
|page |是 | |int |
|size |是 | |int |
|showFirst |是 | true 只显示第一条 false 分页 |boolena |
|studentId |是 | |long |
推送 json:
```
http://127.0.0.1:8080/fishcard/appraise/1296454/medalInfoByStudentId?showFirst=false&page=0&size=14&access_token=FVmKFGyLFP
```
Response:
```
{
data: {
content: [
{
medalsRecord: [
{
id: 1,
name: "Talk King",
desc: "Can talk about a topic using the phrases and expressions that have been learned in the lesson",
mark: "communication",
level: 1
}
],
comment_video_1: "foreignevaluationtest/teacher/12/98/1298939/video/178121/178121_1.mp4",
comment_video_2: "foreignevaluationtest/teacher/12/98/1298939/video/178121/178121_2.mp4",
comment_video_3: "foreignevaluationtest/teacher/12/98/1298939/video/178121/178121_3.mp4",
comment_deal_flag: 1,
englishName: null,
startTime: "2017-12-13 17:29:13",
courseId: "L3NoYXJlL3N2bi9MZXZlbCA1X0Z1bmN0aW9uMS8yMDIuIOWmguS9leihqOi-vuKAnOWHoOWIhuS5i-WHoOKAne-8ny54bHN4",
cover: null,
level: null,
zan: null,
knowledge: null,
teacherUrl: "https://avatars.boxfish.cn/user/1298939/figure/1503040228.jpg",
teacherName: "test939 test",
workOrderId: 178121
}
],
last: false,
totalPages: 10,
totalElements: 10,
size: 1,
number: 0,
first: true,
sort: null,
numberOfElements: 1
},
returnCode: 200,
returnMsg: "success"
}
```
\ No newline at end of file
... ...