|
@@ -56,12 +56,6 @@ public class CourseChapterSectionController extends BaseController {
|
|
public AjaxResult<List<CourseChapterSectionVo>> list(@PathVariable("id" ) Long id) {
|
|
public AjaxResult<List<CourseChapterSectionVo>> list(@PathVariable("id" ) Long id) {
|
|
|
|
|
|
List<CourseChapterSectionVo> list = iCourseChapterSectionService.getListById(id);
|
|
List<CourseChapterSectionVo> list = iCourseChapterSectionService.getListById(id);
|
|
- /* Map<String, Object> result = new HashMap<>();
|
|
|
|
- result.put("total",new PageInfo(list).getTotal());
|
|
|
|
- result.put("code", HttpStatus.HTTP_OK);
|
|
|
|
- result.put("rows",list);
|
|
|
|
- result.put("msg","查询成功");
|
|
|
|
- result.put("timeTotal",iCourseChapterSectionService.getListTotalTime(id));*/
|
|
|
|
return AjaxResult.success(list);
|
|
return AjaxResult.success(list);
|
|
}
|
|
}
|
|
|
|
|