mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Feat: file uploading in slave mode
This commit is contained in:
@@ -129,7 +129,7 @@ func (policy *Policy) GenerateFileName(uid uint, origin string) string {
|
||||
case "qiniu":
|
||||
// 七牛会将$(fname)自动替换为原始文件名
|
||||
replaceTable["{originname}"] = "$(fname)"
|
||||
case "local":
|
||||
case "local", "remote":
|
||||
replaceTable["{originname}"] = origin
|
||||
case "oss":
|
||||
// OSS会将${filename}自动替换为原始文件名
|
||||
|
||||
Reference in New Issue
Block a user