优化event的时间属性 && 新增线上课章节和课时的排序编辑apic

This commit is contained in:
none
2023-03-20 10:55:14 +08:00
parent 00e4e66271
commit 337e600432
26 changed files with 139 additions and 41 deletions

View File

@@ -16,13 +16,13 @@ public class CourseChapterDestroyEvent extends ApplicationEvent {
private Integer adminId;
private Integer courseId;
private Integer chapterId;
private Date date;
private Date createdAt;
public CourseChapterDestroyEvent(Object source, Integer adminId, Integer courseId, Integer chapterId, Date date) {
public CourseChapterDestroyEvent(Object source, Integer adminId, Integer courseId, Integer chapterId) {
super(source);
this.adminId = adminId;
this.courseId = courseId;
this.chapterId = chapterId;
this.date = date;
this.createdAt = new Date();
}
}