jiaozijun

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

@@ -504,3 +504,73 @@ Response: @@ -504,3 +504,73 @@ Response:
504 "returnMsg": "success" 504 "returnMsg": "success"
505 } 505 }
506 ``` 506 ```
  507 +
  508 +
  509 +# 10.新首页获取视频点评信息
  510 +>
  511 +
  512 +接口地址:fishcard/appraise/{studentId}/medalInfoByStudentId
  513 +
  514 +请求方式:GET
  515 +
  516 +Request params:
  517 +
  518 +|参数名 |是否必须 |说明 |参数类型 |
  519 +|--------------|----------|--------|----------|
  520 +|page |是 | |int |
  521 +|size |是 | |int |
  522 +|showFirst |是 | true 只显示第一条 false 分页 |boolena |
  523 +|studentId |是 | |long |
  524 +
  525 +
  526 +推送 json:
  527 +
  528 +```
  529 + http://127.0.0.1:8080/fishcard/appraise/1296454/medalInfoByStudentId?showFirst=false&page=0&size=14&access_token=FVmKFGyLFP
  530 +
  531 +```
  532 +
  533 +Response:
  534 +```
  535 +{
  536 +data: {
  537 +content: [
  538 +{
  539 +medalsRecord: [
  540 +{
  541 +id: 1,
  542 +name: "Talk King",
  543 +desc: "Can talk about a topic using the phrases and expressions that have been learned in the lesson",
  544 +mark: "communication",
  545 +level: 1
  546 +}
  547 +],
  548 +comment_video_1: "foreignevaluationtest/teacher/12/98/1298939/video/178121/178121_1.mp4",
  549 +comment_video_2: "foreignevaluationtest/teacher/12/98/1298939/video/178121/178121_2.mp4",
  550 +comment_video_3: "foreignevaluationtest/teacher/12/98/1298939/video/178121/178121_3.mp4",
  551 +comment_deal_flag: 1,
  552 +englishName: null,
  553 +startTime: "2017-12-13 17:29:13",
  554 +courseId: "L3NoYXJlL3N2bi9MZXZlbCA1X0Z1bmN0aW9uMS8yMDIuIOWmguS9leihqOi-vuKAnOWHoOWIhuS5i-WHoOKAne-8ny54bHN4",
  555 +cover: null,
  556 +level: null,
  557 +zan: null,
  558 +knowledge: null,
  559 +teacherUrl: "https://avatars.boxfish.cn/user/1298939/figure/1503040228.jpg",
  560 +teacherName: "test939 test",
  561 +workOrderId: 178121
  562 +}
  563 +],
  564 +last: false,
  565 +totalPages: 10,
  566 +totalElements: 10,
  567 +size: 1,
  568 +number: 0,
  569 +first: true,
  570 +sort: null,
  571 +numberOfElements: 1
  572 +},
  573 +returnCode: 200,
  574 +returnMsg: "success"
  575 +}
  576 +```