🎇 support lanzou

This commit is contained in:
微凉
2021-11-30 21:30:50 +08:00
parent 50226f66e3
commit cd50227835
3 changed files with 401 additions and 1 deletions

View File

@ -16,6 +16,8 @@ type File struct {
UpdatedAt *time.Time `json:"updated_at"`
Thumbnail string `json:"thumbnail"`
Url string `json:"url"`
SizeStr string `json:"size_str"`
TimeStr string `json:"time_str"`
}
func SortFiles(files []File, account *Account) {
@ -63,4 +65,4 @@ func (f File) ModTime() time.Time {
func (f File) IsDir() bool {
return f.Type == conf.FOLDER
}
}