mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-11 06:29:28 +00:00
Fix: handler move files in top levels
This commit is contained in:
1 parent
d28e5632d5
commit
adf7f3deeb
5 files changed
+115
-38
No files matched your search
@@ -16,8 +16,8 @@ type ItemMoveService struct {
|
||||
|
||||
// ItemService 处理多文件/目录相关服务
|
||||
type ItemService struct {
|
||||
Items []string `json:"items" binding:"exists"`
|
||||
Dirs []string `json:"dirs" binding:"exists"`
|
||||
Items []string `json:"items" binding:"exists,dive,ne=/"`
|
||||
Dirs []string `json:"dirs" binding:"exists,dive,ne=/"`
|
||||
}
|
||||
|
||||
// Delete 删除对象
|
||||
|
||||
Reference in new issue
Block a user