mirror of https://github.com/halo-dev/halo
Fix issue: 102
parent
2f1fba71a8
commit
e745d7b3df
|
@ -113,7 +113,6 @@ public class Post implements Serializable {
|
|||
/**
|
||||
* 发表日期
|
||||
*/
|
||||
@CreatedDate
|
||||
private Date postDate;
|
||||
|
||||
/**
|
||||
|
@ -171,9 +170,4 @@ public class Post implements Serializable {
|
|||
}
|
||||
postId = null;
|
||||
}
|
||||
|
||||
@PreUpdate
|
||||
public void preUpdate() {
|
||||
postUpdate = DateUtil.date();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue