Esempio n. 1
0
        public string NewsEdit(ArticleModel model)
        {
            //#region 操作日志
            ////yungchu
            ////敏感字-无
            //BizLog bizlog = new BizLog()
            //{
            //	Summary = "新闻编辑",
            //	KeywordType = KeywordType.ArticleId,
            //	Keyword = model.ArticleID.ToString(),
            //	UserCode = _workContext.User.UserUame,
            //	UserRealName = _workContext.User.UserUame,
            //	UserType = UserType.LMS_User,
            //	SystemCode = SystemType.LMS,
            //	ModuleName = "新闻管理"
            //};

            //_operateLogServices.WriteLog(bizlog, model);
            //#endregion

            model.LastUpdatedBy = _workContext.User == null ? "" : _workContext.User.UserUame;
            model.LastUpdatedOn = DateTime.Now;
            return(_newService.UpdateNews(model.ToEntity <Article>()));
        }