修复bug

Uat_Study
hang 2022-04-29 18:11:48 +08:00
parent 864a327fbb
commit 64ec8264f5
2 changed files with 15 additions and 0 deletions

View File

@ -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}"
});
}
}
}

View File

@ -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>