예제 #1
0
        /// <summary>
        /// 获取站点用户列表
        /// </summary>
        /// <param name="skey"></param>
        /// <returns></returns>
        public ActionResult GetMpUsers(string skey, string utype)
        {
            string condition = "";

            if (!string.IsNullOrEmpty(skey))
            {
                condition += " and UserName like '%" + StringHelper.SqlEscape(skey, true) + "%'";
            }
            PagedList <MpUser> mpUsers = _mpUserService.GetMpUsers(PageIndex, 10, condition, utype == "1" ? true : false);

            return(View("lottery/design/mpusers", mpUsers));
        }