@contribute
2018-04-20T08:36:13.000000Z
字数 2490
阅读 1479
课程服务dubbo服务API定义
tanzhou
author: 王昌
email: 454250944@qq.com
dubbo服务API
1. QQ群
方法 |
传入参数 |
返回结果 |
备注 |
qryAllQQGroups |
|
QQGroupDTO |
查询所有qq群 |
addQQGroup |
QQGroupDTO |
boolean |
添加qq群 |
mdfQQGroup |
QQGroupDTO |
boolean |
修改qq群 |
delQQGroup |
qqId |
boolean |
删除qq群 |
2. 类目
方法 |
传入参数 |
返回结果 |
备注 |
qryChildCateListByPid |
pid |
list |
|
qryFirstCateList |
|
list |
查所有一级类目 |
qrySecondCateList |
|
list |
查所有二级类目 |
qryAllCateList |
|
AllCategory |
查询所有层级类目 |
addCate |
CateDTO |
boolean |
添加类目 |
mdfCate |
CateDTO |
boolean |
修改类目 |
delCate |
cateId |
boolean |
删除类目(类目下的子类目是否删除?类目下的课程?) |
3. 班期老师列表
方法 |
传入参数 |
返回结果 |
备注 |
根据昵称模糊搜索老师信息 |
nick |
list |
|
4. 草稿箱
方法 |
传入参数 |
返回结果 |
备注 |
addCourseDraftContent |
CourseDraftContentDTO |
boolean |
添加草稿箱(发布课程) |
mdfCourseDraftContent |
CourseDraftContentDTO |
boolean |
修改草稿箱 |
delCourseDraftContent |
draftId |
boolean |
删除草稿箱 |
getCourseDraftContentById |
draftId |
CourseDraftContentDTO |
查找草稿箱 |
qryCourseDraftContentByPublisherId |
uid |
CourseDraftContentDTO |
待审核列表 |
5. 课程
方法 |
传入参数 |
返回结果 |
备注 |
qryAllCourseList |
|
CourseDTO |
查询所有课程 |
getCourseByTitle |
courseTitle |
CourseDTO |
根据课程名精确查找课程 |
qryCourseByTitleWithRegex |
courseTitle |
CourseDTO |
根据课程名模糊查找课程 |
qryCourseByIds |
List |
CourseDTO |
根据多个课程ID批量查询课程 |
getCourseById |
courseId |
CourseDTO |
查询单个课程 |
qryCourseByCate |
cateId |
CourseDTO |
根据类目查课程 |
mdfCourse |
CourseDTO |
boolean |
修改课程 |
delCourse |
courseId |
boolean |
逻辑删除课程 |
addCourse |
CourseDTO |
boolean |
新增课程 |
6. 班期
方法 |
传入参数 |
返回结果 |
备注 |
qryCourseClassByCourseId |
courseId |
CourseClassDTO |
查班期列表 |
getCourseClassByClassId |
classId |
CourseClassDTO |
查看班期详情 |
mdfCourseClass |
CourseClassDTO |
boolean |
修改班期详情 |
addCourseClass |
CourseClassDTO |
boolean |
添加班期详情 |
delCourseClass |
classId |
boolean |
删除班期 |
7. 章节
方法 |
传入参数 |
返回结果 |
备注 |
getCourseClassChapterByClassId |
classId |
CourseClassChapterDTO |
查询班期章节 |
addCourseClassChapter |
CourseClassChapterDTO |
boolean |
新增章节 |
mdfCourseClassChapter |
CourseClassChapterDTO |
boolean |
修改章节详情 |
delCourseClassChapter |
chapterId |
boolean |
删除章节 |
8. 赠送课程
方法 |
传入参数 |
返回结果 |
备注 |
getCoursePresentById |
coursePresentId |
CoursePresentDTO |
查询赠送课程 |
addCoursePresent |
CoursePresentDTO |
boolean |
添加赠送课程 |
qryCoursePresentByReceiverId |
uid |
CoursePresentDTO |
根据被赠送人uid查询被赠送课程 |
9. 课程视频
方法 |
传入参数 |
返回结果 |
备注 |
qryCourseVideoListByChapterId |
chapterId |
CourseVideoDTO |
查章节视频列表 |
getCourseVideoListById |
courseVideoId |
CourseVideoDTO |
查视频详情 |
addCourseVideo |
CourseVideoDTO |
boolean |
添加章节视频 |
delCourseVideoListById |
courseVideoId |
boolean |
删除章节视频 |
sortByWeight |
List |
boolean |
修改视频排序 |
10. 审核失败原因
方法 |
传入参数 |
返回结果 |
备注 |
addCourseAudit |
CourseAuditDTO |
boolean |
添加课程审核不通过原因 |
delCourseAudit |
courseDraftContentId |
boolean |
删除审核不通过原因 |
mdfCourseAudit |
CourseAuditDTO |
boolean |
修改课程审核不通过原因 |
getCourseAudit |
courseDraftContentId |
CourseAuditDTO |
查询课程审核不通过原因 |
11. 课程内容
方法 |
传入参数 |
返回结果 |
备注 |
getCourseContentByCourseId |
courseId |
CourseContentDTO |
查询课程内容 |
addCourseContent |
CourseContentDTO |
boolean |
添加课程内容 |
mdfCourseContentByCourseId |
CourseContentDTO |
boolean |
修改课程内容 |