mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-24 02:57:19 +08:00
chore: add callback for task
This commit is contained in:
@@ -13,6 +13,7 @@ type User struct {
|
||||
BasePath string `json:"base_path"` // base path
|
||||
AllowUpload bool `json:"allow_upload"` // allow upload
|
||||
Role int `json:"role"` // user's role
|
||||
//OfflineDownload bool `json:"offline_download"` // TODO? allow offline download
|
||||
}
|
||||
|
||||
func (u User) IsGuest() bool {
|
||||
|
||||
Reference in New Issue
Block a user