|
@@ -11,6 +11,8 @@ import com.zhongzheng.modules.course.bo.CourseEditBo;
|
|
|
import com.zhongzheng.modules.course.bo.CourseQueryBo;
|
|
import com.zhongzheng.modules.course.bo.CourseQueryBo;
|
|
|
import com.zhongzheng.modules.course.service.ICourseService;
|
|
import com.zhongzheng.modules.course.service.ICourseService;
|
|
|
import com.zhongzheng.modules.course.vo.CourseVo;
|
|
import com.zhongzheng.modules.course.vo.CourseVo;
|
|
|
|
|
+import com.zhongzheng.modules.exam.bo.ExamNoteQueryBo;
|
|
|
|
|
+import com.zhongzheng.modules.exam.vo.ExamNoteVo;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
@@ -60,5 +62,11 @@ public class CourseController extends BaseController {
|
|
|
return AjaxResult.success(iCourseService.queryById(courseId));
|
|
return AjaxResult.success(iCourseService.queryById(courseId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @ApiOperation("课程推荐列表")
|
|
|
|
|
+ @GetMapping("/recommendList")
|
|
|
|
|
+ public AjaxResult<List<CourseVo>> recommendList(CourseQueryBo bo) {
|
|
|
|
|
+ List<CourseVo> list = iCourseService.queryRecommendList(bo);
|
|
|
|
|
+ return AjaxResult.success(list);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
}
|
|
}
|