课程详情展示(comment) Websocket test GET course/v1/course/comment?courseId=xxxx API description 课程评论 Request Header parameter type description required Description or Example # Response ```json { "code": 200, "msg": "success", "data": [{ "courseId": 1, "star": 1, // 评价星级 1- 5 "nickname": "德玛西亚没有眼泪", // 展示 "detail": "整部戳,住在山里面,真不戳" "updateTime": "2021-05-01T10:00:00" }, { "courseId": 1, "star": 5, // 评价星级 1- 5 "nickname": "德玛西亚没有眼泪2", // 展示 "detail": "整部戳,住在山里面,真不戳吗" "updateTime": "2021-05-01T10:00:00" }] } ``` > 注意这里data是一个list,顺序按照update来的,由近到远
# Response ```json { "code": 200, "msg": "success", "data": [{ "courseId": 1, "star": 1, // 评价星级 1- 5 "nickname": "德玛西亚没有眼泪", // 展示 "detail": "整部戳,住在山里面,真不戳" "updateTime": "2021-05-01T10:00:00" }, { "courseId": 1, "star": 5, // 评价星级 1- 5 "nickname": "德玛西亚没有眼泪2", // 展示 "detail": "整部戳,住在山里面,真不戳吗" "updateTime": "2021-05-01T10:00:00" }] } ``` > 注意这里data是一个list,顺序按照update来的,由近到远