mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-18 16:16:25 +08:00
🎇 支持mysql
This commit is contained in:
@@ -45,7 +45,7 @@ func Down(c *gin.Context) {
|
||||
c.JSON(200, MetaResponse(406, "无法下载目录."))
|
||||
return
|
||||
}
|
||||
drive := utils.GetDriveByName(strings.Split(dir,"/")[0])
|
||||
drive := utils.GetDriveByName(strings.Split(dir, "/")[0])
|
||||
if drive == nil {
|
||||
c.JSON(200, MetaResponse(500, "找不到drive."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user