feat: 🎸 新建章节返回章节id
This commit is contained in:
parent
87fbf7c686
commit
a9e3e9146a
@ -114,7 +114,7 @@ public class AiolCourseSectionController extends JeecgController<AiolCourseSecti
|
|||||||
aiolEntityLinkMapper.insert(entityLink);
|
aiolEntityLinkMapper.insert(entityLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Result.OK("添加成功!");
|
return Result.OK(sectionDTO.getId());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("添加课程章节失败: {}", e.getMessage(), e);
|
log.error("添加课程章节失败: {}", e.getMessage(), e);
|
||||||
return Result.error("添加课程章节失败: " + e.getMessage());
|
return Result.error("添加课程章节失败: " + e.getMessage());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user