Browse Source

流业务层

he2802 4 years ago
parent
commit
2f180a1e3b

+ 2 - 2
zhongzheng-admin/src/main/java/com/zhongzheng/controller/course/CourseChapterSectionController.java

@@ -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;
     }
 
     /**