Example #1
0
        /// <summary>
        /// 模块管理员配置修改
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        public ActionResult UpdateModularInfo(UserOperate dto)
        {
            ResultData <object> result = new ResultData <object>();
            UserLoginDTO        user   = (UserLoginDTO)Session["UserLoginInfo"];

            dto.ModifyUser = user.FullName;
            dto.ModifyTime = DateTime.Now;
            dto.Uptype     = 5;
            try
            {
                result = SystemProvider.UpdateModularInfo(dto);
            }
            catch (Exception ex)
            {
                result.SubmitResult = false;
                result.Message      = ex.Message;
            }

            return(Json(result, JsonRequestBehavior.AllowGet));
        }