feat: add directory management functionality and update handlers to utilize default directory

This commit is contained in:
krau
2025-11-16 21:09:55 +08:00
parent fe47ee3b51
commit 3f40acff55
12 changed files with 148 additions and 57 deletions

View File

@@ -10,7 +10,7 @@ import (
const (
TypeAdd = "add"
TypeSetDefault = "setdefault"
TypeConfig = "config"
TypeConfig = "config"
TypeCancel = "cancel"
)
@@ -47,4 +47,5 @@ type Add struct {
type SetDefaultStorage struct {
StorageName string
DirID uint
}