fix: 修正 FileAggregateRoot.FilePath 的赋值,保存目录路径而非包含文件名的完整路径

This commit is contained in:
chenchun
2025-11-06 10:58:33 +08:00
parent 1cc5f2a14f
commit 22ac150acd

View File

@@ -34,8 +34,7 @@ namespace Yi.Framework.Rbac.Domain.Entities
var type = GetFileType(); var type = GetFileType();
var savePath = GetSaveFilePath(); var savePath = GetSaveFilePath();
var filePath = Path.Combine(savePath, this.FileName); this.FilePath = savePath;
this.FilePath = filePath;
} }
/// <summary> /// <summary>