コード例 #1
0
ファイル: SysUserController.cs プロジェクト: ym1100/EasyCMS
        /// <summary>
        /// 数据表格
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>

        public ActionResult GetData(BootstrapGridDto param)
        {
            //var data = new DataGridEx();

            string accountName = RequestHelper.GetQueryString("userName");
            string nickName    = RequestHelper.GetQueryString("nickName");
            var    data        = _userApp.GetData(param, accountName, nickName);

            return(Content(data.ToJson()));
        }
コード例 #2
0
        /// <summary>
        /// 数据表格
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>

        public ActionResult GetData(BootstrapGridDto param)
        {
            //var data = new DataGridEx();

            string accountName = RequestHelper.RequestGet("accountName", "");

            var data = _userApp.GetData(param, accountName);

            return(Content(data.ToJson()));
        }
コード例 #3
0
        public ActionResult GetData(DataTableDto param)
        {
            //var data = new DataGridEx();

            string loginName = RequestHelper.GetPostString("loginName");
            string userName  = RequestHelper.GetPostString("userName");
            string phone     = RequestHelper.GetPostString("phone");
            var    data      = _userApp.GetData(param, loginName, userName, phone);

            return(Json(data));
        }