소스 검색

流业务层

he2802 4 년 전
부모
커밋
2f180a1e3b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      zhongzheng-admin/src/main/java/com/zhongzheng/controller/course/CourseChapterSectionController.java

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