【优化】优化本地上传写入文件夹缺少反斜杠的问题。

This commit is contained in:
大灰灰
2022-12-28 16:06:44 +08:00
parent fd505b4af7
commit 9959150bc1
2 changed files with 15 additions and 25 deletions

View File

@@ -196,7 +196,7 @@ namespace CoreCms.Net.Services
filesStorageOptions.QiNiuBucketName = GetValue(SystemSettingConstVars.FilesStorageQiNiuBucketName, configs, settings);
//格式化存储文件夹路径
filesStorageOptions.Path = UpLoadHelper.PathFormat(filesStorageOptions.StorageType, filesStorageOptions.Path, filesStorageOptions.BucketBindUrl);
filesStorageOptions.Path = UpLoadHelper.PathFormat(filesStorageOptions.StorageType, filesStorageOptions.Path);
return filesStorageOptions;