diff --git a/.gitignore b/.gitignore index 078ea47..09c188f 100644 --- a/.gitignore +++ b/.gitignore @@ -308,3 +308,4 @@ COMCMS.Web/wwwroot/userfiles/ /COMCMS.Web/UploadFile /COMCMS.Web/UploadTemp /WebTest/wwwroot +COMCMS.Web/wwwroot/install.lock diff --git a/COMCMS.Web/Areas/AdminCP/Controllers/AttachController.cs b/COMCMS.Web/Areas/AdminCP/Controllers/AttachController.cs index 5afc9e3..34adc71 100644 --- a/COMCMS.Web/Areas/AdminCP/Controllers/AttachController.cs +++ b/COMCMS.Web/Areas/AdminCP/Controllers/AttachController.cs @@ -40,7 +40,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers List all = getAllAttach(""); string allJson = JsonConvert.SerializeObject(all); //string basePath = $"{_env.WebRootPath}{Path.DirectorySeparatorChar}{attach.AttachPatch}{Path.DirectorySeparatorChar}";//基础目录 - + ViewBag.folderJson = allJson; //string[] arrDirs = Directory.GetDirectories(basePath); return View(); //return Content(JsonConvert.SerializeObject(allJson)); diff --git a/COMCMS.Web/Areas/AdminCP/Views/Article/AddArticle.cshtml b/COMCMS.Web/Areas/AdminCP/Views/Article/AddArticle.cshtml index 4ecfca0..0ec97a9 100644 --- a/COMCMS.Web/Areas/AdminCP/Views/Article/AddArticle.cshtml +++ b/COMCMS.Web/Areas/AdminCP/Views/Article/AddArticle.cshtml @@ -163,9 +163,10 @@