Beispiel #1
0
        protected override DTObject DynamicInvoke(dynamic arg)
        {
            var page = PermissionCommon.FindPage(arg.Name, arg.PageIndex, arg.PageSize);

            return(DTObjectPro.Create("{id,name,markedCode,description}", page));
        }
        protected override DTObject DynamicInvoke(dynamic arg)
        {
            var page = UserCommon.FindPage(arg.Name, arg.RoleMarkedCode, arg.PageIndex, arg.PageSize);

            return(DTObjectPro.Create("{id,name,sex}", page));
        }
Beispiel #3
0
        protected override DTObject DynamicInvoke(dynamic arg)
        {
            var page = AccountCommon.FindPage(arg.Flag, arg.PageIndex, arg.PageSize);

            return(DTObjectPro.Create("{id,name,email,status:{loginInfo:{lastTime,lastIp,total},isEnabled}}", page));
        }
        protected override DTObject DynamicInvoke(dynamic arg)
        {
            var page = RoleCommon.FindPage(arg.OrganizationId ?? Guid.Empty, arg.Name, arg.PageIndex, arg.PageSize);

            return(DTObjectPro.Create("{id,name,markedCode,description,isSystem,permissions:[{id,name}]}", page));
        }