|
@@ -52,7 +52,7 @@ public class CourseChapterSectionController extends BaseController {
|
|
|
@ApiOperation("查询章与节关系列表")
|
|
|
@PreAuthorize("@ss.hasPermi('system:section:list')")
|
|
|
@GetMapping("/list/{id}")
|
|
|
- public AjaxResult list(@PathVariable("id" ) Long id) {
|
|
|
+ public Map<String, Object> list(@PathVariable("id" ) Long id) {
|
|
|
startPage();
|
|
|
List<CourseChapterSectionVo> list = iCourseChapterSectionService.getListById(id);
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
@@ -61,7 +61,7 @@ public class CourseChapterSectionController extends BaseController {
|
|
|
result.put("list",list);
|
|
|
result.put("msg","查询成功");
|
|
|
result.put("sectionTotal",new PageInfo(list).getTotal());
|
|
|
- return AjaxResult.success(result);
|
|
|
+ return result;
|
|
|
}
|
|
|
|
|
|
/**
|