文档
测试

课程详情

GET
/study/stCourse/getCourseInfo

请求参数

参数名
类型
描述
必填
id
int
课程id
必填
officeId
string
平台id
必填
createBy
string
操作用户
必填

响应参数

参数名
类型
描述
必填
respCode
string
示例:0000
必填
respDesc
string
示例:成功
必填
result
object
数据字典
必填
id
int
示例:185
必填
name
string
示例: 课程名称1
必填
typeName
string
示例:语文
必填
videoName
string
示例:3.mp4
必填
videoUrl
string
示例:http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20220929/1664439179606.mp4
必填
typeId
int
示例:167
必填
fileNames
string
示例:jq语法.txt
必填
fileUrl
string
示例:http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20220928/1664366908619.txt
必填
userName
string
示例:创建者
必填
endTime
int
示例:1664208000000
必填
tags
string
示例:标签
必填
courseFileList
array
分享的资料列表
必填
isNewRecord
boolean
示例:true
必填
createBy
string
示例:管理员
必填
fileName
string
示例:jq语法1.txt
必填
fileUrl
string
示例:http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20220927/1664263623705.txt
必填
fileId
int
示例:257(资料id)
必填
askWithAnswers
array
互问互答列表
必填
talkId
int
示例:182
必填
courseId
int
示例:185
必填
courseName
string
示例: 课程名称1
必填
talkName
string
示例:今天天气有点热9
必填
talkState
int
示例:0
必填
createBy
string
示例:彭明林
必填
userFileList
array
用户自己分享的资料列表(未审核)
必填
id
string
示例:199
必填
isNewRecord
boolean
示例:false
必填
fileName
string
示例:翻墙地址.txt
必填
fileUrl
string
示例:http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20220929/1664438587763.txt
必填
fileId
int
示例:54(资料id)
必填
teacher
string
示例:授课老师
必填
views
int
示例:1 (浏览量)
必填
likes
int
示例:2 (点赞量)
必填
paperName
string
示例:课程考试
必填
shareCourse
object
推荐学习课程
必填
id
string
示例:184 (课程id)
必填
isNewRecord
boolean
示例:false
必填
createDate
string
示例:2022-09-27 14:27 (创建时间)
必填
name
string
示例: 课程名称1 (课程名称)
必填
videoUrl
string
示例:http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20220929/1664430928000.mp4 (主课件视频地址)
必填
videoTime
string
示例:(视频时长)
必填
imgUrl
string
示例:http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/ccImgFiles/13021/参照物/1654073102.5232549.jpg (封面地址)
必填
studyCount
int
示例:25 (多少人已学习)
必填

说明 / 示例

{ "respCode": "0000", "respDesc": "成功", "result": { "id": 190, "name": "英雄联盟", "typeName": "游戏", "videoName": "3.mp4", "videoUrl": "http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20221011/1665451024790.mp4", "typeId": 175, "fileInfos": [ { "fileId": 288, "fileName": "111.docx", "fileUrl": "http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20221019/1666171237406.docx" }, { "fileId": 289, "fileName": "111.docx", "fileUrl": "http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20221019/1666170661726.docx" }, { "fileId": 290, "fileName": "111.docx", "fileUrl": "http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20221019/1666170598016.docx" } ], "userName": "还让他", "endTime": "2022-10-11 00:00:00.0", "tags": "5杀", "courseFileList": [ { "isNewRecord": true, "createBy": "zspt_3mte", "fileId": 208, "fileName": "robots.txt", "fileUrl": "http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20221013/1665652861049.txt" } ], "askWithAnswers": [ { "talkId": 195, "courseId": 190, "courseName": "英雄联盟", "createDate": 1665710404000, "talkName": "你拿过五杀吗,送了网费吗", "talkState": 1, "createBy": "朱韵蓓test", "answerList": [ { "answerId": 192, "createBy": "朱韵蓓test", "createDate": 1665710415000, "answerName": "送了30块钱网费", "answerState": 1 }, { "answerId": 193, "createBy": "朱韵蓓test", "createDate": 1665710583000, "answerName": "没有送,tmd就送了一杯可乐", "answerState": 1 }, { "answerId": 198, "createBy": "朱韵蓓test", "createDate": 1665728704000, "answerName": "发送到发送到", "answerState": 2 }, { "answerId": 200, "createBy": "彭明林", "createDate": 1665730434000, "answerName": "很久没拿过了", "answerState": 1 }, { "answerId": 203, "createBy": "朱韵蓓test", "createDate": 1665824124000, "answerName": "哈哈", "answerState": 2 }, { "answerId": 204, "createBy": "朱韵蓓test", "createDate": 1665824132000, "answerName": "喝喝", "answerState": 2 } ] }, { "talkId": 202, "courseId": 190, "courseName": "英雄联盟", "createDate": 1665732031000, "talkName": "你好啊", "talkState": 0, "createBy": "朱韵蓓test" }, { "talkId": 204, "courseId": 190, "courseName": "英雄联盟", "createDate": 1665824210000, "talkName": "个", "talkState": 1, "createBy": "朱韵蓓test", "answerList": [ { "answerId": 205, "createBy": "朱韵蓓test", "createDate": 1665824215000, "answerName": "个监护人", "answerState": 1 } ] }, { "talkId": 206, "courseId": 190, "courseName": "英雄联盟", "createDate": 1666142591000, "talkName": "骨腾肉飞就", "talkState": 1, "createBy": "朱韵蓓test" } ], "userFileList": [], "teacher": "隔热管", "views": 93, "likes": 0, "paperName": "英雄联盟", "shareCourse": { "id": "202", "isNewRecord": false, "name": "三个", "videoUrl": "http://pro-imgbucket.oss-cn-hangzhou.aliyuncs.com/study/20221015/1665801917436.mp4", "state": 2, "videoTime": "00:00:06", "studyCount": 0 } } }