mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
优化event的时间属性 && 新增线上课章节和课时的排序编辑apic
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user