| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -25,9 +25,9 @@ public class FrontCourseController {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    private final ZccmCourseService courseService;
 | 
					 | 
					 | 
					 | 
					    private final ZccmCourseService courseService;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    private final ZccmUserVideoPositionService userVideoPositionService;
 | 
					 | 
					 | 
					 | 
					    private final ZccmUserVideoPositionService userVideoPositionService;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public FrontCourseController(ZccmCourseService courseServices,
 | 
					 | 
					 | 
					 | 
					    public FrontCourseController(ZccmCourseService courseService,
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                 ZccmUserVideoPositionService userVideoPositionService) {
 | 
					 | 
					 | 
					 | 
					                                 ZccmUserVideoPositionService userVideoPositionService) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.courseService = courseServices;
 | 
					 | 
					 | 
					 | 
					        this.courseService = courseService;
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.userVideoPositionService = userVideoPositionService;
 | 
					 | 
					 | 
					 | 
					        this.userVideoPositionService = userVideoPositionService;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -89,9 +89,9 @@ public class FrontCourseController {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return Result.success(userVideoPositionService.flushToDb(userId, videoId, courseId, years, classId));
 | 
					 | 
					 | 
					 | 
					        return Result.success(userVideoPositionService.flushToDb(userId, videoId, courseId, years, classId));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @GetMapping("/getZccmCourseVideoPosition")
 | 
					 | 
					 | 
					 | 
					    @GetMapping("/getCourseVideoPosition")
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取一个课程下所有的视频以及某个用户的播放进度", response = Result.class)
 | 
					 | 
					 | 
					 | 
					    @ApiOperation(value = "获取一个课程下所有的视频以及某个用户的播放进度", response = Result.class)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public Result getZccmCourseChapterAndVideoPosition(@RequestParam Integer courseId,
 | 
					 | 
					 | 
					 | 
					    public Result getCourseChapterAndVideoPosition(@RequestParam Integer courseId,
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                                   @RequestParam Integer userId,
 | 
					 | 
					 | 
					 | 
					                                                   @RequestParam Integer userId,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                                   @RequestParam Integer classId) {
 | 
					 | 
					 | 
					 | 
					                                                   @RequestParam Integer classId) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return Result.success(courseService.getCourseChapterAndVideoPosition(courseId, userId, classId));
 | 
					 | 
					 | 
					 | 
					        return Result.success(courseService.getCourseChapterAndVideoPosition(courseId, userId, classId));
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |