change path interface

This commit is contained in:
微凉
2021-11-23 15:58:03 +08:00
parent e31402e94f
commit 163ee1159e
9 changed files with 32 additions and 32 deletions

View File

@ -72,7 +72,7 @@ func Path(c *gin.Context) {
})
} else {
if meta != nil && meta.Hide != "" {
tmpFiles := make([]*model.File, 0)
tmpFiles := make([]model.File, 0)
hideFiles := strings.Split(meta.Hide, ",")
for _, item := range files {
if !utils.IsContain(hideFiles, item.Name) {