分页

简要描述:

  • 分页接口

请求URL:

  • http://192.168.11.145/organize/member/page

请求方式:

  • GET

参数:

参数名 必选 类型 说明 长度
page int 页码 11
limit int 每页条数 11
username string 用户名称, 模糊查询 50
orgId int 组织 id 11

请求示例

http://192.168.11.145/organization/organize/member/page?page=1&limit=10&orgId=1

返回示例

{
    "msg": "success",
    "code": 0,
    "data": {
        "total": 3,
        "size": 10,
        "current": 1,
        "records": [
            {
                "delFlag": "0",
                "remark": null,
                "createTime": "2020-09-17 10:04:10",
                "updateTime": "2020-09-17 10:04:10",
                "createBy": 2,
                "updateBy": null,
                "id": 3,
                "tenantId": 44,
                "orgId": 1,
                "code": "OM1600308219579",
                "account": "google",
                "username": "张三李四",
                "sex": "0",
                "age": 19,
                "phone": "1234123211242131",
                "identity": "身份证fe2",
                "description": "描述",
                "attachmentList": null
            },
            {
                "delFlag": "0",
                "remark": null,
                "createTime": "2020-09-16 13:51:25",
                "updateTime": "2020-09-16 14:41:27",
                "createBy": 2,
                "updateBy": 2,
                "id": 1,
                "tenantId": 44,
                "orgId": 1,
                "code": "OM1600235451872",
                "account": "qwe",
                "username": "张三李四",
                "sex": "0",
                "age": 19,
                "phone": "12341231",
                "identity": "身份12",
                "description": "描述",
                "attachmentList": null
            },
            {
                "delFlag": "0",
                "remark": null,
                "createTime": "2020-09-16 14:38:29",
                "updateTime": "2020-09-16 14:38:29",
                "createBy": 2,
                "updateBy": null,
                "id": 2,
                "tenantId": 44,
                "orgId": 1,
                "code": "OM1600238275976",
                "account": "gest",
                "username": "张三李四",
                "sex": "0",
                "age": 19,
                "phone": "12341232131",
                "identity": "身份证号12",
                "description": "描述",
                "attachmentList": null
            }
        ],
        "pages": 1
    }
}

返回参数说明

参数名 类型 说明
code int 状态码, 0:成功;其他:异常
message String 描述信息
data object 返回数据
total long 总数
size int 每页条数
current int 当前页
records list 返回数据
pages long 总页数
delFlag String 删除标记, 0: 正常 1: 删除
remark String 备注
createTime String 创建时间
updateTime String 更新时间
createBy int 创建人 id
updateBy int 修改人 id
id int 数据 id
tenantId int 租户 id
orgId int 组织 id
code String 编码
account String 账号
username String 用户姓名
sex String 性别 0-男 1-女
age int 年龄
phone String 手机号
identity String 身份证号
description String 描述

备注