优化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

@@ -15,13 +15,13 @@ import java.util.Date;
public class CourseDestroyEvent extends ApplicationEvent {
private Integer courseId;
private Date at;
private Date createdAt;
private Integer adminId;
public CourseDestroyEvent(Object source, Integer adminId, Integer courseId, Date date) {
public CourseDestroyEvent(Object source, Integer adminId, Integer courseId) {
super(source);
this.courseId = courseId;
this.at = date;
this.createdAt = new Date();
this.adminId = adminId;
}