更新组件到最新版

This commit is contained in:
2020-04-11 18:17:57 +08:00
parent 0c8f6dc6ed
commit a201617a92
17 changed files with 74 additions and 37 deletions
+2 -2
View File
@@ -22,11 +22,11 @@ namespace COMCMS.Common
/// <summary>
/// 程序绝对目录
/// </summary>
private static string _ContentRootPath = DI.ServiceProvider.GetService<IWebHostEnvironment>().ContentRootPath;
private static string _ContentRootPath = Environment.CurrentDirectory;
/// <summary>
/// 静态文件
/// </summary>
private static string _WebRootPath = DI.ServiceProvider.GetService<IWebHostEnvironment>().WebRootPath;
private static string _WebRootPath = _ContentRootPath + DirectorySeparatorChar + "wwwroot" + DirectorySeparatorChar;
#region 方式
public enum CutMode