Beispiel #1
0
        public ActionResult DeleteSome(string ids)
        {
            ShowResultModel res = new ShowResultModel();

            try
            {
                string   newids = ids.Substring(0, ids.Length - 1);
                string[] arrids = newids.Split('|');
                _AdminLogService.DeleteSome(arrids);
                res.IsSuccess = true;
                res.TipMsg    = "删除成功!";
            }
            catch (Exception e)
            {
                res.TipMsg = e.Message;
                LoggerHelper.Log("【批量删除系统管理员日志】出错,系统操作管理员:" + _currentAdmin.AdminInfo.SAName + ",错误原因:" + (e.InnerException == null ? e.Message : e.InnerException.ToString()));
            }
            return(Json(res));
        }