mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-20 04:36:09 +08:00
🎇 多盘支持
This commit is contained in:
@ -55,7 +55,11 @@ func Path(c *gin.Context) {
|
||||
}
|
||||
// delete password
|
||||
for i, _ := range *files {
|
||||
(*files)[i].Password = ""
|
||||
if (*files)[i].Password == "" {
|
||||
(*files)[i].Password = "n"
|
||||
}else {
|
||||
(*files)[i].Password = "y"
|
||||
}
|
||||
}
|
||||
c.JSON(200, DataResponse(files))
|
||||
}
|
||||
|
Reference in New Issue
Block a user