fix: 文件最后使用时间
This commit is contained in:
@@ -53,6 +53,9 @@ class File {
|
|||||||
getUploadTime() {
|
getUploadTime() {
|
||||||
return this.bean.upload_time
|
return this.bean.upload_time
|
||||||
}
|
}
|
||||||
|
updateLastUsedTime() {
|
||||||
|
this.setAttr("last_used_time", Date.now())
|
||||||
|
}
|
||||||
getLastUsedTime() {
|
getLastUsedTime() {
|
||||||
return this.bean.last_used_time
|
return this.bean.last_used_time
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user