Finish the delete things for matter and cache.

This commit is contained in:
zicla
2019-04-04 02:31:26 +08:00
parent 28b4227215
commit 7697891807
7 changed files with 49 additions and 38 deletions

View File

@ -20,3 +20,8 @@ type ImageCache struct {
func (this *ImageCache) TableName() string {
return TABLE_PREFIX + "image_cache"
}
// 获取该ImageCache的绝对路径。path代表的是相对路径。
func (this *ImageCache) AbsolutePath() string {
return GetUserCacheRootDir(this.Username) + this.Path
}