Commit fe0d47cd authored by Java-刘 彧阳's avatar Java-刘 彧阳

微信重定向URL地址日志打印

parent 0c674924
...@@ -41,4 +41,9 @@ public class Address implements Serializable { ...@@ -41,4 +41,9 @@ public class Address implements Serializable {
private Timestamp createdAt; private Timestamp createdAt;
@Column(name = "updated_at") @Column(name = "updated_at")
private Timestamp updateAt; private Timestamp updateAt;
@PreUpdate
public void preUpdate(){
this.updateAt = new Timestamp(System.currentTimeMillis());
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment