fix: 文件最后使用时间

This commit is contained in:
CrescentLeaf
2025-11-01 01:13:33 +08:00
parent 661cebdb24
commit 8891cd23af

View File

@@ -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
} }