示例#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));
        }
示例#2
0
        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));
        }
示例#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));
        }
示例#4
0
        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));
        }