🐛 fix: #101 分次请求文件

This commit is contained in:
微凉
2021-04-30 19:01:40 +08:00
parent 427244d8d5
commit b20f0717fe
3 changed files with 40 additions and 33 deletions

View File

@ -27,7 +27,7 @@ func Path(c *gin.Context) {
if err != nil {
// folder model not exist
if file == nil {
c.JSON(200, MetaResponse(404, "path not found."))
c.JSON(200, MetaResponse(404, "path not found.(第一次请先点击网页底部rebuild)"))
return
}
c.JSON(200, MetaResponse(500, err.Error()))