fix(import): import from slave not working / fix(recycle): skip sending delete request if no blob needs to be deleted in this batch

This commit is contained in:
Aaron Liu
2025-05-20 10:46:27 +08:00
parent 2fac086127
commit 7bace40a4d
5 changed files with 10 additions and 12 deletions

View File

@@ -248,8 +248,8 @@ func (service *SlaveDeleteFileService) Delete(c *gin.Context) ([]string, error)
type (
SlaveListParamCtx struct{}
SlaveListService struct {
Path string `uri:"path" binding:"required"`
Recursive bool `uri:"recursive"`
Path string `form:"path" binding:"required"`
Recursive bool `form:"recursive"`
}
)