ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 课程详情 +++ get:/class/get.do *string:userId=1#用户ID *string:classId=1#课程Id <<< success { "code": "00000", "info": "信息获取成功。", "data": { "activityAmount": 0, "amount": 0, "classDetailInfoList": [ { "classId": "1", "classImgId": "1", "classImgUrl": "http://img3.redocn.com/tupian/20150806/weimeisheyingtupian_4779232.jpg", "classSpeekUserInfo": { "createTime": "", "delFlg": "0", "discription": "就是个普通讲师1", "id": "1", "updateTime": "", "userImgId": "1", "userImgUrl": "http://img3.redocn.com/tupian/20150806/weimeisheyingtupian_4779232.jpg", "userName": "讲师1" }, "classTime": "", "classVideoId": "2", "classVideoUrl": "", "content": "课程内容", "createTime": "", "delFlg": "0", "id": "1", "readHistory": "0", "sectionId": "", "sectionName": "", "sectionStatus": "0", "speekUserId": "1", "topUp": 0.1, "upScoreTime": 0, "updateTime": "" } ], "classDynamicInfoList": [], "classId": "1", "classMarkInfoList": [ { "classId": "1", "createTime": "", "delFlg": "0", "id": "1", "markCode": "3", "markName": "友情", "updateTime": "" }, { "classId": "1", "createTime": "", "delFlg": "0", "id": "2", "markCode": "2", "markName": "亲情", "updateTime": "" } ], "className": "精神1", "classSpeekUserInfoList": [ { "createTime": "", "delFlg": "0", "discription": "就是个普通讲师1", "id": "1", "updateTime": "", "userImgId": "1", "userImgUrl": "http://img3.redocn.com/tupian/20150806/weimeisheyingtupian_4779232.jpg", "userName": "讲师1" } ], "classStatistics": { "classId": "1", "commentCount": "93", "createTime": "", "delFlg": "0", "id": "1", "markCount": "64", "payUserCount": "93", "readCount": "712", "star": 3.2608695652174, "starCount": "23", "updateTime": "2016-12-08 13:59:58.0" }, "classType": "1", "classTypeName": "精神", "commentCount": "93", "createTime": "", "delFlg": "0", "discription": "test1", "endTime": "", "isCollect": "0", "isFree": "0", "isPay": "0", "isTop": "0", "level": "", "markCode": [], "markCount": "64", "readCount": "712", "showImgId": "1", "showImgUrl": "http://img3.redocn.com/tupian/20150806/weimeisheyingtupian_4779232.jpg", "showVideoId": "2", "showVideoUrl": "", "singleFlg": "0", "speekUserId": "1", "star": 3.2608695652174, "startTime": "", "topLevel": "", "type": "", "updateTime": "", "userId": "" } } <<< error +++ ####参数接口描述(data中的内容):record |序号|名称|描述|备注| | -- | -- | -- | -- | | |classId|课程id|| | |className|课程名称|| | |classType|课程类型|| | |classTypeName|课程类型名称|| | |className|课程名称|| | | discription | 概述 | -- | | | isPay | 是否已购买 | 0:未购买;其他为已购买 | | | isCollect | 是否已收藏 | 0:未收藏;其他为已收藏 | | | isFree | 是否免费 | 0:免费;1:收费; 2:会员免费 | | |activityAmount|活动价格|| | |amount|价格|| | | showImgUrl | 展示图片 | -- | | | showVideoUrl | 展示视频 | -- | | | classVideoTime | 视频时间 | -- | | | singleFlg | 套课flg | 0:单课程;1:多课程 | | | type | 课程内容类型 | 0:图文;1视频 | | | userId | 用户id | -- | | classDetailInfoList| 课程详细内容 | | 如果是套课返回list.size > 1,单课程list.size = 1| | | classImgUrl | 课程详情图片Url | -- | | | classVideoUrl | 课程详情视频Url | -- | | | classVideoTime | 视频时间 | -- | | | sectionId | 章节ID | -- | | | sectionName | 章节名称 | -- | | | content | 详细内容 | -- | | | readHistory | 最近阅读记录 | 1:最近阅读的章节 | | | sectionStatus | 课程学习状态 | 0:未完成;1:已完成学习 | | | classSpeekUserInfo | 章节讲师信息 || | | |id | 讲师Id | | || userName | 章节讲师昵称 | | | |userImgUrl | 章节讲师头像 | | | |discription | 章节讲师简介 | | classSpeekUserInfoList| 套课讲师一览 | | 如果是套课返回的是List,如果不是为空list | | | id | 讲师Id | -- | | | userName | 讲师昵称 | -- | | | userImgUrl | 讲师头像 | -- | | | discription | 讲师简介 | -- | | classMarkInfoList| 课程标签一览 | | | | | markCode | 标签Code | -- | | | markName | 标签名称 | -- | | classStatistics| 课程统计一览 | | | | | readCount | 阅读数 | -- | | | markCount | 收藏数 | -- | | | payUserCount | 付费数 | -- | | | commentCount | 评论数 | -- | | | star | 星级 | -- |