1、后台增加文章管理;2、更新CKeditor到最新,并修复最新版本上传文件接口错误问题;3、其他细节更新

This commit is contained in:
2018-04-18 20:43:33 +08:00
parent 309b696266
commit 13ab681205
194 changed files with 4160 additions and 2048 deletions
@@ -135,8 +135,9 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
{
if (!string.IsNullOrWhiteSpace(model.WaterMarkImg))
{
if (!System.IO.File.Exists(Path.Combine(_env.WebRootPath, model.WaterMarkImg)))
string imgPath = _env.WebRootPath + model.WaterMarkImg.Replace("/", "\\");
NewLife.Log.XTrace.WriteLine(_env.WebRootPath + "|" + Path.Combine(_env.WebRootPath, model.WaterMarkImg) + "|" + imgPath);
if (!System.IO.File.Exists(imgPath))
{
tip.Message = "水印图片不存在,请重新上传!";
return Json(tip);