Finish the logger maintain things.

This commit is contained in:
zicla
2018-11-30 22:01:31 +08:00
parent 84703a8971
commit 1bdfb4996e
8 changed files with 138 additions and 15 deletions

View File

@ -1,6 +1,5 @@
package rest
/**
* 文件。alien表示是否是应用内使用的文件比如说蓝眼云盘的头像alien = true 这种文件在上传时不需要指定存放目录,会统一放在同一个文件夹下。
*/
@ -15,6 +14,7 @@ type Matter struct {
Size int64 `json:"size"`
Privacy bool `json:"privacy"`
Path string `json:"path"`
Times int64 `json:"times"`
Parent *Matter `gorm:"-" json:"parent"`
}