|
@@ -6,8 +6,6 @@ import com.fs.course.param.newfs.FsUserCourseListParam;
|
|
|
import com.fs.course.param.newfs.UserCourseVideoPageParam;
|
|
|
import com.fs.course.service.IFsUserCourseService;
|
|
|
import com.fs.course.service.IFsUserCourseVideoService;
|
|
|
-import com.fs.course.vo.FsCourseAnalysisVO;
|
|
|
-import com.fs.course.vo.FsUserCourseListPVO;
|
|
|
import com.fs.course.vo.newfs.FsUserCourseListVO;
|
|
|
import com.fs.course.vo.newfs.FsUserCourseVideoDetailsVO;
|
|
|
import com.fs.course.vo.newfs.FsUserCourseVideoPageListVO;
|
|
@@ -63,26 +61,6 @@ public class FsUserCourseVideoController extends AppBaseController {
|
|
|
return ResponseResult.ok(pageInfo);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("课程分析")
|
|
|
- @GetMapping("/courseAnalysis")
|
|
|
- public R courseAnalysis(@RequestParam(required = false) Long courseId,
|
|
|
- @RequestParam(required = false) Integer status,
|
|
|
- @RequestParam(required = false, value = "true") Boolean isToday,
|
|
|
- @RequestParam(required = false, defaultValue = "1") Integer pageNum,
|
|
|
- @RequestParam(required = false, defaultValue = "10") Integer pageSize) {
|
|
|
-
|
|
|
- Map<String,Object> params = new HashMap<>();
|
|
|
- params.put("courseId", courseId);
|
|
|
- params.put("companyId", getCompanyId());
|
|
|
- params.put("isToday", isToday);
|
|
|
- params.put("status", status);
|
|
|
-
|
|
|
- // TODO: 查询课程
|
|
|
- PageHelper.startPage(pageNum, pageSize);
|
|
|
- List<FsCourseAnalysisVO> list = fsUserCourseVideoService.getCourseAnalysisByMap(params);
|
|
|
- return R.ok().put("data", new PageInfo<>(list));
|
|
|
- }
|
|
|
-
|
|
|
@GetMapping("/videoList")
|
|
|
@ApiOperation("获取视频下拉列表")
|
|
|
public ResponseResult<PageInfo<FsUserVideoListVO>> getAllVideoList(UserCourseVideoPageParam param) {
|