调整所有图片上传,增加缩略图显示

This commit is contained in:
2020-07-20 00:31:50 +08:00
parent 3af9250443
commit 1f8e2b1e6e
14 changed files with 96 additions and 13 deletions
@@ -40,7 +40,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
List<DirInfo> 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));