Пример #1
0
        /// <summary>
        /// 封禁激活帐号
        /// </summary>
        /// <returns></returns>
        public JsonResult ResetStatus()
        {
            string          ids  = Request.Form["ids"];
            int             type = Convert.ToInt32(Request.Form["type"]);
            OperatorService oms  = new OperatorService();
            int             i    = oms.DelOp(ids, type);
            AjaxMsgResult   msg  = new AjaxMsgResult()
            {
                Success = true,
                Msg     = "成功处理" + i + "个用户!"
            };

            return(Json(msg));
        }