修复bug
parent
864a327fbb
commit
64ec8264f5
|
@ -35,6 +35,12 @@ namespace IRaCIS.Core.API
|
|||
Directory.CreateDirectory(systemNoticePath);
|
||||
}
|
||||
|
||||
|
||||
if (!Directory.Exists(comonPathPath))
|
||||
{
|
||||
Directory.CreateDirectory(comonPathPath);
|
||||
}
|
||||
|
||||
app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
FileProvider = new PhysicalFileProvider(uploadPath),
|
||||
|
@ -54,6 +60,12 @@ namespace IRaCIS.Core.API
|
|||
RequestPath = $"/{StaticData.SystemNoticeFolder}"
|
||||
});
|
||||
|
||||
|
||||
app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
FileProvider = new PhysicalFileProvider(comonPathPath),
|
||||
RequestPath = $"/{StaticData.CommonFileFolder}"
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ namespace IRaCIS.Core.Infra.EFCore
|
|||
{
|
||||
public static class DbContextExt
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 获取变化的实体信息
|
||||
/// </summary>
|
||||
|
@ -38,6 +39,8 @@ namespace IRaCIS.Core.Infra.EFCore
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取变化的实体信息
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue