储存进度
This commit is contained in:
@@ -112,6 +112,13 @@ public class CourseController {
|
||||
return R.ok().put("playAuth",playAuth);
|
||||
}
|
||||
|
||||
public R saveCoursePosition(@RequestBody Map<String,Integer> map){
|
||||
Integer uId = ShiroUtils.getUId();
|
||||
Integer videoId = map.get("videoId");
|
||||
Integer position = map.get("position");
|
||||
courseCatalogueChapterVideoService.saveCoursePosition(uId,videoId,position);
|
||||
return null;
|
||||
}
|
||||
/**
|
||||
* 验证video权限,并解决足迹,加密视频签名问题
|
||||
* @param video
|
||||
|
||||
Reference in New Issue
Block a user