🎇 支持mysql

This commit is contained in:
微凉
2021-03-16 23:15:37 +08:00
parent 4d0d892ce7
commit a5b2f998ab
15 changed files with 85 additions and 89 deletions

View File

@ -42,7 +42,7 @@ func Get(c *gin.Context) {
}
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