Feat: user setting

This commit is contained in:
HFO4
2020-02-19 16:05:54 +08:00
parent 33a917cc75
commit 4420a75c04
16 changed files with 577 additions and 20 deletions

View File

@@ -9,7 +9,6 @@ import (
"github.com/HFO4/cloudreve/pkg/filesystem/driver/local"
"github.com/HFO4/cloudreve/pkg/filesystem/fsctx"
"github.com/HFO4/cloudreve/pkg/serializer"
"github.com/HFO4/cloudreve/pkg/util"
"github.com/HFO4/cloudreve/service/explorer"
"github.com/gin-gonic/gin"
"net/http"
@@ -294,7 +293,7 @@ func FileUploadStream(c *gin.Context) {
File: c.Request.Body,
Size: fileSize,
Name: fileName,
VirtualPath: util.DotPathToStandardPath(filePath),
VirtualPath: filePath,
}
// 创建文件系统